SA-MP Forums Archive
samp bug? - 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: samp bug? (/showthread.php?tid=443548)



samp bug? - audriuxxx - 12.06.2013

Hi,

I create pickup in world 300, and i set player world to 300, but i don't see pickup. If i create pickup, without world like:

CreatePickup( modelid, type, X, y, z );

And if player in virtual world 0, then i see this pickup. Why i don't see him, when i set pickup to virutal world?

(i set pickup virtual world that):

CreatePickup( modelid, type, X, y, z, 300 );

(player)

SetPlayerVirtualWorld( playerid, 300 );


Re: samp bug? - feartonyb - 12.06.2013

Try using CreateDynamicPickup because without streamer there is some limitations.

Also, you can show pickup in all V.Worlds by setting the Virtual World to -1 in CreatePickup func.


Re: samp bug? - audriuxxx - 12.06.2013

Limtations? i use about 1000 pickups, i don't think i reach limit.. And use dynamic pickup, for some pickup, is really bad i think, and i think it don't change anything. And set virtual world to -1, i want just players, can take this pickup in that same world.


Re: samp bug? - feartonyb - 12.06.2013

Max pickups without streamer is 4096. Try using Dynamic Pickup