SA-MP Forums Archive
settimer - 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: settimer (/showthread.php?tid=274226)



settimer - Horrible - 05.08.2011

i remember that code is must repeated
SOLVED and TY for all reply


Re: settimer - [L3th4l] - 05.08.2011

pawn Код:
CMD:test(playerid, params[])
{
    SetTimerEx("Test", 1000, true, "i", playerid);
    return 1;
}

forward Test(playerid);
public Test(playerid)
{
    GivePlayerMoney(playerid, -1);
    return 1;
}



Re: settimer - iGetty - 05.08.2011

Is it meant to be repeating?


Re: settimer - =WoR=Varth - 05.08.2011

pawn Код:
forward a(playerid);
CMD:a(playerid, params[])
{
     SetTimerEx("a",1000,0,"d",playerid);
     return 1;
}

public a(playerid)
{
    GivePlayerMoney(playerid,-1);
}



Re: settimer - Horrible - 05.08.2011

Quote:
Originally Posted by getty154
Посмотреть сообщение
Is it meant to be repeating?
yes it mean to be repeating