function "KickEx" should return a value - 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)
+--- Thread: function "KickEx" should return a value (
/showthread.php?tid=566615)
function "KickEx" should return a value -
Sc0pion - 07.03.2015
Fixed!
Re: function "KickEx" should return a value -
ahmedkoki - 07.03.2015
Try that
pawn Код:
stock KickEx(playerid)
{
SetTimerEx("KickExTimer", 5000, 0, "i", playerid);
}
forward KickExTimer(playerid);
public KickExTimer(playerid)
{
KickEx(playerid);
}
Re: function "KickEx" should return a value -
X337 - 07.03.2015
Код:
stock KickEx(playerid)
{
SetTimerEx("KickExTimer", 5000, 0, "i", playerid);
return 1;
}
forward KickExTimer(playerid);
public KickExTimer(playerid)
{
KickEx(playerid);
return 1;
}