SA-MP Forums Archive
How can i make somekind of /enter thing? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How can i make somekind of /enter thing? (/showthread.php?tid=98524)



How can i make somekind of /enter thing? - virspector - 21.09.2009

How can i make somekind of /enter thing. I tried to use something like this:

IF PLAYERPOSITION IS <coordinate> IT WILL TELEPORT PLAYER TO <coordinate> AND SET INTERIOR ID INTO <interior>

But, it doesn't work, because the player's coordinate must be exactly like the coordinate. How can i do /enter thing. PLEASE HELP. Thx


Re: How can i make somekind of /enter thing? - Correlli - 21.09.2009

Use PlayerToPoint, IsPlayerInCube or IsPlayerInArea check functions. Search for them on this forum.