Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

OnPlayerText

$
0
0
Sup, There a 4errors on one line

Code:

public OnPlayerText(playerid, text[])
{
    if(text[0] == '1' && HouseBuy1[playerid] == 1)
    {
          SendClientMessage(playerid, -1, "You cannot purchase this house Right now {FFFFFF}[{00FFFF}Its not available Yet{FFFFFF}]");
          HideDraw(playerid);
    }
        return 1;
}

PHP Code:

error 028invalid subscript (not an array or too many subscripts): "HouseBuy1"
warning 215expression has no effect
 error 001
expected token";"but found "]"
error 029invalid expressionassumed zero
fatal error 107
too many error messages on one line 


Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>