There you go. and i set this timer to 60 seconds. if u want to change it, change the 60 i put in the for(;Code:Timer() { for(time>-1; time=60; time--) { wait 1; } if(time==0) { //Weapon change code here } }
Hi everyone here. Iam making new mod and I need a timer for weapon set change.
Can anyone help me with it?
I mean
But I dont know how to do itCode:server.tier = 0; wait 10; server.tier = server.tier +1; if(server.tier==1) { self giveWeapon("mp5k_mp", 0, false); self giveMaxAmmo("mp5k_mp"); }
Thx for all replies...
Last edited by Blubb1337; 09-27-2010 at 06:21 AM.
There you go. and i set this timer to 60 seconds. if u want to change it, change the 60 i put in the for(;Code:Timer() { for(time>-1; time=60; time--) { wait 1; } if(time==0) { //Weapon change code here } }
LenyXMD (09-26-2010)
/marked as solved