16.03.2017, 18:40
Hi i have variable of pickup it called
How need make it destroy if passed 20 seconds?
Код:
meatDrops
meatDrops
SetTimer("Destroypickup", 20000, false) //creating 20 second timer forward Destroypickup(); public Destroypickup() { DestroyPickup(meatDrops); // destroying pickup after 20 second }
set a 20 second timer when you create the pickup
Код:
SetTimer("Destroypickup", 20000, false) //creating 20 second timer forward Destroypickup(); public Destroypickup() { DestroyPickup(meatDrops); // destroying pickup after 20 second } |
new meatDrops;
new meatDrops[128];