CreatePickup
#1

Hello all,

Can someone give me an full, right example of making more pickups (so you have an id and each id have an function as setplayerpos)

i've seen something like

new policepick;
policepick = CreatePickup(lalala);

OnPlayerPickupPickup();
?

That's the place I dunno it anymore.

Hope you guys can help me out!

Thanks!

Sander
Reply
#2

for your example 'policepick = CreatePickup(lalala);'
you would use this under OnPlayerPickupPickup()
pawn Код:
if(pickupid == policepick)
{
  //Whatever you want the pickup to do
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)