Help me!!! - 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 me!!! (
/showthread.php?tid=296029)
Help me!!! -
Mike_Dan - 09.11.2011
actually i cant make /enter or /exit in my scripting , i just want to help tell me how , or make a video on ******* and show me i want it in a fast time as any person can
Re: Help me!!! -
SmiT - 09.11.2011
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
https://sampwiki.blast.hk/wiki/SetPlayerPos
Re: Help me!!! -
Mike_Dan - 09.11.2011
it wont help , please help more.
Re : Help me!!! -
decondelite - 09.11.2011
Mike, smit explained everything with his 2 links. Entering a house means:
1) Changing the player's position with SetPlayerPos
2) Changing the player's interior with SetPlayerInterior
3) Changing the player's virtual world with SetPlayerVirtualWorld
The same goes when you exit the house: you set the player's position to the ones in front of the door, set the interior to 0 and the virtual world to 0.
But he forgot to give you another useful link:
https://sampwiki.blast.hk/wiki/InteriorIDs