Timer
#3

pawn Код:
new armour[MAX_PLAYERS];
CMD:armour(playerid)
{
//armour giveing codes
armour(playerid)=1;
SetTimer("Arming(playerid)",30000,0);
}
forward Arming(playerid);
public Arming(playerid)
{
armour(playerid)=0;
}
there may be errors but you need to do it like this way its just an example scripting after a long time so dont remmember the basic syntax's.
Reply


Messages In This Thread
Timer - by [..MonTaNa..] - 30.03.2013, 20:05
Re: Timer - by Private200 - 30.03.2013, 20:12
Re: Timer - by Abhishek. - 30.03.2013, 20:12
Re: Timer - by Ironboy - 30.03.2013, 20:15
Re: Timer - by Vlad64 - 30.03.2013, 20:17
Re: Timer - by [..MonTaNa..] - 30.03.2013, 23:13
Re: Timer - by Omirrow - 30.03.2013, 23:34
Re: Timer - by Private200 - 31.03.2013, 00:12
Re: Timer - by Marco_Valentine - 31.03.2013, 00:18
Re: Timer - by Marco_Valentine - 31.03.2013, 00:21

Forum Jump:


Users browsing this thread: 1 Guest(s)