SA-MP Forums Archive
Function fail - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Function fail (/showthread.php?tid=250782)



Function fail - Unknown123 - 24.04.2011

Код:
(1227) : warning 213: tag mismatch
(1907) : warning 213: tag mismatch
pawn Код:
SetPlayerTimer(playerid, "FailLogin", 30000, false); //Line (1227)


stock SetPlayerTimer(playerid, callback[], interval, Bool:repeating)
{
    SetTimerEx(callback, interval, repeating, "u", playerid); //Line (1907)
}



Re: Function fail - Vince - 24.04.2011

Change

pawn Код:
Bool:repeating
To:
pawn Код:
bool:repeating
Sidenote: "u" is not supported by SetTimerEx. Use "i" instead.


Re: Function fail - Unknown123 - 24.04.2011

Quote:
Originally Posted by Vince
Посмотреть сообщение
Change

pawn Код:
Bool:repeating
To:
pawn Код:
bool:repeating
Sidenote: "u" is not supported by SetTimerEx. Use "i" instead.
ok, thanks, and thx for the last thing... i always used "u" instead of "i" xD Thx