Undefined player id
#1

following line is giving me error
Quote:

error 017: undefined symbol "playerid"

PHP код:
SetTimerEx("ClearText"5000false"i"playerid); 
I have this code under this

Quote:

public Timer()

please help
Reply
#2

try like this..

public Timer(playerid)
{
...
}
Reply
#3

Try under OnPlayerSpawn.

What are you trying to do actually?
Reply
#4

I am trying to hide gametextforall
Reply
#5

Quote:
Originally Posted by Rissam
Посмотреть сообщение
I am trying to hide gametextforall
In what conditions?

Show that full part.
Reply
#6

Undefined messages mean that the parameter is not defined, in order to get rid of these messages you have to define these parameters. In this case as "fuckingcruse" told you earlier try putting Timer(playerid) instead of Timer() and change how you call the function in your command/whatever since it looks like this timer is specified for a certain player!

I hope I helped any feedback is appreciated!
Reply
#7

changing
Quote:

timer()

to
Quote:

timer(playerid)

worked. Thanks +rep to both of you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)