Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmd:takemeth(playerid, params[])
- {
- MethStage[playerid] = 1;
- SetTimerEx("MethStageTimer", 3000, true, "d" playerid);
- }
- forward MethStageTimer();
- public MethStageTimer()
- {
- if(MethStage[playerid] == 1)
- {
- // do the stage 1 stuff
- MethStage[playerid] = 2; // makes sure the timer will do meth stage 2 when it repeats
- }
- else if(MethStage[playerid] == 2)
- {
- // do the stage 2 stuff
- MethStage[playerid] = 3; // makes sure the timer will do meth stage 2 when it repeats
- }
- if(MethStage[playerid] == 3)
- {
- // do the stage 3 stuff
- MethStage[playerid] = 4; // makes sure the timer will do meth stage 2 when it repeats
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement