OnPlayerKeyStateChange [ HELP ]
#1

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(playeridnewkeysoldkeys)
{
    if (
PRESSED(KEY_FIRE))
    {
        if (
InMenu[playerid] == 1)
        {
            if(
strval(text) == 1)
            {
               
TextDrawHideForPlayer(playeridTextdraw22);
            }
        }
    }
    return 
1;

Reply
#2

You didn't defined "text", and in this native is not included.
Reply
#3

maybe this > new text[265]

on top of if(strval(text) == 1)
Reply
#4

Guys... I want a if you are typing /cmds and press KEY_FIRE The textdraws removed / destroyed And if you typing /cmds > 1.. etc and pressed KEY_FIRE Same textdraws removed HOW!?
Reply
#5

new [text]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)