giveplayerid error
#10

pawn Код:
if(IsPlayerConnected(giveplayerid))
{
    if(giveplayerid != INVALID_PLAYER_ID)
Pointless checking. If the players are connected, then they simply not invalid players.

pawn Код:
SetTimerEx("SearchCallHome", 2000,false,"i",playerid);
Of course, it won't. You pass only playerid as parameter when it should be:
pawn Код:
SetTimerEx("SearchCallHome", 2000,false,"ii",playerid, giveplayerid);
But still.. wouldn't it be better without the timer? Just calling a function and do the rest?
Reply


Messages In This Thread
giveplayerid error - by Don_Cage - 08.09.2013, 12:49
Re: giveplayerid error - by Kirollos - 08.09.2013, 12:50
Re: giveplayerid error - by RedJohn - 08.09.2013, 12:51
Re: giveplayerid error - by knackworst - 08.09.2013, 12:51
Re: giveplayerid error - by Don_Cage - 08.09.2013, 12:54
Re: giveplayerid error - by knackworst - 08.09.2013, 13:01
Re: giveplayerid error - by Don_Cage - 08.09.2013, 13:14
Re: giveplayerid error - by Don_Cage - 08.09.2013, 13:19
Re: giveplayerid error - by knackworst - 08.09.2013, 13:19
Re: giveplayerid error - by Konstantinos - 08.09.2013, 13:22

Forum Jump:


Users browsing this thread: 2 Guest(s)