"playerid" ?!!
#1

pawn Код:
SetTimer("TextDrawRemove",10000,false); // This is what I got in my command.

public TextDrawRemove()
{
TextDrawHideForPlayer( playerid, ExitTextdraw);
return 1;
}
Код:
error 017: undefined symbol "playerid"
I got script, almost done it..
And it works perfectly, except this..
Help would be awesome.
Reply
#2

pawn Код:
forward TextDrawRemove(id);

SetTimerEx("TextDrawRemove",10000,false,"i",playerid); // This is what I got in my command.

public TextDrawRemove(id)
{
    TextDrawHideForPlayer(id, ExitTextdraw);
    return 1;
}
Reply
#3

EDIT: Beat me ^^ :P

pawn Код:
SetTimerEx("TextDrawRemove", 10000, false, "i", playerid);

public TextDrawRemove(playerid)
{
    TextDrawHideForPlayer(playerid, ExitTextdraw);
    return 1;
}
Reply
#4

Thanks, appreciate it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)