OnPlayerText
#1

Sup, There a 4errors on one line

Код:
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 код:
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 
Reply


Messages In This Thread
OnPlayerText - by Thanks - 13.05.2017, 15:47
Respuesta: OnPlayerText - by Ignaciodmr - 13.05.2017, 15:51
Respuesta: OnPlayerText - by Ignaciodmr - 13.05.2017, 15:53
Re: OnPlayerText - by Thanks - 13.05.2017, 15:54
Respuesta: OnPlayerText - by Ignaciodmr - 13.05.2017, 16:14
Re: OnPlayerText - by Tord - 13.05.2017, 16:17
Re: OnPlayerText - by RedRex - 13.05.2017, 16:19
Re: OnPlayerText - by Tord - 13.05.2017, 16:22
Re: OnPlayerText - by ProBro - 13.05.2017, 23:40

Forum Jump:


Users browsing this thread: 1 Guest(s)