SA-MP Forums Archive
Pickups miss up - 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: Pickups miss up (/showthread.php?tid=360340)



Pickups miss up - jimis - 17.07.2012

Hi guys,i have make a pickup out of a burgershot at los santos,i have aslo make a pickup out of a burgershot at las venturas and i when player go to a pickup he have interior 10 ( same interior with los santos burger and las venturas)
The problem is that when you get is the shop(interior 10) in los santos you can see the other player in the other shop(interior 10) which is at lv.
How i can fix it??


Re: Pickups miss up - RenSoprano - 17.07.2012

Show us your code


Re: Pickups miss up - StrangeLove - 17.07.2012

https://sampwiki.blast.hk/wiki/SetPlayerVirtualWorld


Re: Pickups miss up - -CaRRoT - 17.07.2012

The Above post said Enough ^^


Under your /enter CMD or Whatever you use to TP the player - Add this :

PHP код:
SetPlayerVirtualWorld(playeridYourID
Change the ID on each Pickup - But don't forget to add

PHP код:
SetPlayerVirtualWorld(playerid0
When the Player Get out of the Building.


Re: Pickups miss up - jimis - 17.07.2012

Ok thanks guys +rep


Re: Pickups miss up - jimis - 17.07.2012

guys how i can check in what world is a player?for example when he type /rob if he is at world 2 do something if he is at 3 do somthing else