Timer Hellp
#1

I did 5Missions on my gm, and now idk how to make on misssions example:
/MISSION1
and start countdowning during the mission
if countdown end say mission not complete
Anyone can help me?
Reply
#2

I will show you how to make a simple timer if you need again some help feel free to ask


below main()..
..
..
..

pawn Код:
public OnPlayerSpawn(playerid)
{
    TogglePlayerControllable(playerid, 0);
    SetTimer("SimpleTimer",5000/*5 seconds in milliseconds*/, false/*it will not repeat the timer*/);
    return 1;
}

forward SimpleTimer(playerid);
public SimpleTimer(playerid)
{
    TogglePlayerControllable(playerid, 1);
    return 1;
}
Reply
#3

Tnx anyway
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)