22.09.2017, 12:35
I've adding this code For hidding the textdraws when typing /cmds > 1 and pressed KEY_FIRE But the given me 1 error
Код:
error 017: undefined symbol "text"
PHP код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (PRESSED(KEY_FIRE))
{
if (InMenu[playerid] == 1)
{
if(strval(text) == 1)
{
TextDrawHideForPlayer(playerid, Textdraw22);
}
}
}
return 1;
}