SA-MP Forums Archive
Timer!! Sleepy at time :P - 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: Timer!! Sleepy at time :P (/showthread.php?tid=205617)



Timer!! Sleepy at time :P - -•♥♠♦♣-•Arshavin•-♥♠♦♣•- - 01.01.2011

i did killtimer when disconnect and when he spawn all timers work so i want.... to do
pawn Код:
if(GetPlayerScore(playerid) == ??) 
    {
        KillTimer(ScoreTimer1[playerid]);
    }
and i have 14 levels so which lvls in if(GetPlayerScore(playerid == ??) (1-14) shall i put? so if he's already passed lvl 1 this timer doesnt count again even if discconect and reloged i dont want it to count any scoretimer if he passed this lvl or even go to the timer before it :P please help!


Re: Timer!! Sleepy at time :P - -•♥♠♦♣-•Arshavin•-♥♠♦♣•- - 01.01.2011

sry for double post but forgot to add... this is ScoreTimer1 for score lvl 1


Re: Timer!! Sleepy at time :P - -•♥♠♦♣-•Arshavin•-♥♠♦♣•- - 01.01.2011

sry for another post But can someone response 20 VIEWS!!!!!


Re: Timer!! Sleepy at time :P - _rAped - 01.01.2011

Not sure what you want.
pawn Код:
if(GetPlayerScore(playerid) > 1 && GetPlayerScore(playerid) < 14)
{
        KillTimer(ScoreTimer1[playerid]);
}