02.08.2009, 22:23
Okay so my server has ALOT of health pickups. instead of doing
if(pickupid==health1)
if(pickupid==health2)
if(pickupid==health3)
etc.
is there a faster way to do it? Something like healthpickups={createpickup();createpickup();}
if(pickupid==healthpickups)
thanks in advance
if(pickupid==health1)
if(pickupid==health2)
if(pickupid==health3)
etc.
is there a faster way to do it? Something like healthpickups={createpickup();createpickup();}
if(pickupid==healthpickups)
thanks in advance
![confused](images/smilies/confused.gif)