Why isnt this working? ?
#4

After adding pickups (AddStaticPickup), they get assigned to an ID.
First pickup's ID = 0, next one's 1 etc..

I recommend making a global variable called something like "myPickup", then when you use AddStaticPickup, assign myPickup to it.

pawn Код:
myPickup = AddStaticPickup( stuff );
So then you can du
pawn Код:
if( pickupid == myPickup )
Reply


Messages In This Thread
Why isnt this working? ? - by mrcoolballs - 07.09.2010, 14:19
Re: Why isnt this working? ? - by LarzI - 07.09.2010, 14:24
Re: Why isnt this working? ? - by mrcoolballs - 07.09.2010, 14:29
Re: Why isnt this working? ? - by LarzI - 07.09.2010, 14:36
Re: Why isnt this working? ? - by mrcoolballs - 07.09.2010, 14:44

Forum Jump:


Users browsing this thread: 1 Guest(s)