SA-MP Forums Archive
[Help] Important - 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] Important (/showthread.php?tid=288337)



[Help] Important - Leo_Johnson - 07.10.2011

Hello,When I try to /enter I'm not entering the building can you say to me what to do?




Re: [Help] Important - Leo_Johnson - 07.10.2011

Please Help Me? I need to know it.


Re: [Help] Important - Jafet_Macario - 07.10.2011

Maybe show us some code.


Re: [Help] Important - Leo_Johnson - 07.10.2011

Codes? I want to make if some one type /enter in this place of the "LSPD" he enter it


Re: [Help] Important - Jafet_Macario - 07.10.2011

https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
https://sampwiki.blast.hk/wiki/SetPlayerPos


Re: [Help] Important - Leo_Johnson - 07.10.2011

Код:
else if(IsPlayerInRangeOfPoint(playerid,3.0,7759,63.0340,1003.6406,1.1809)) //LSPD HQ
			{
			    SetPlayerInterior(playerid, 0);
			    SetPlayerPos(playerid, 246.784,63.9002,1003.6406);
                SetPlayerFacingAngle(playerid, 0.0000);
                GameTextForPlayer(playerid, "~w~Los Santos Police Depertament", 5000, 1);
                PlayerInfo[playerid][pInt] = 10;
                SetCameraBehindPlayer(playerid);
			}
I want to do for this to enter the LSPD and to exit it
please help


Re: [Help] Important - Leo_Johnson - 07.10.2011

Ok Thanks but I cant do it so,Can you help me for it I need LSPD /enter and LSPD /exit i got /enter and /exit cmd but need to put it for LSPD enter,and exit.