SA-MP Forums Archive
[Help]: Differences pickups - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Help]: Differences pickups (/showthread.php?tid=594551)



[Help]: Differences pickups - INKISICION - 19.11.2015

What are the differences in

new Pickup[MAX_PLAYERS];

and

new Pickup;

їPickup[MAX_PLAYERS] = One per user ?

I want to do this
PHP код:
CMD:mypickup...
{
Pickup[MAX_PLAYERS]  = CreatePickup(1242... //create pickup per player
} 



Re: [Help]: Differences pickups - Jefff - 19.11.2015

Yes if you want per player you need use [MAX_PLAYERS] then Pickup[playerid] = CreatePickup
if for all, Pickup = CreatePickup but best way is using streamer and CreateDynamicPickup


Respuesta: [Help]: Differences pickups - INKISICION - 19.11.2015

I get it
Thanks