Help! - 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: Help! (
/showthread.php?tid=259749)
Help! -
cloudysky - 05.06.2011
It works once but then the next time i log in it re does it, i only want it do work once and that's it, please help!
pawn Код:
forward basictask3(playerid);
pawn Код:
SetTimerEx("basictask3", 10000, false, "i", playerid);
pawn Код:
public basictask3(playerid)
{
if(PlayerInfo[playerid][BT3] >= 0)
{
SendClientMessage(playerid, COLOUR_LGREEN, "You have completed the Time Flies Task and have earned a reward!" );
PlayerInfo[playerid][BT3] = 1;
PlayerInfo[playerid][TasksComplete]++;
}
return 1;
}