SA-MP Forums Archive
Getting to interior with command (Need help) - 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: Getting to interior with command (Need help) (/showthread.php?tid=76667)



Please delete - Jakku - 05.05.2009

Please delete - solved


Re: Getting to interior with command (Need help) - afei - 05.05.2009

You get the interior id 9 thats why you see blue. You forgot to change the players position.


Re: Getting to interior with command (Need help) - Jakku - 05.05.2009

And what I need to do for repair it?


Re: Getting to interior with command (Need help) - afei - 05.05.2009

Add
Код:
SetPlayerPos(playerid,x,y,z);
under 'SetPlayerInterior'. Replace x,y & z ofc.


Re: Getting to interior with command (Need help) - Thebest96 - 19.07.2010

i do this and stay BLEU


Re: Getting to interior with command (Need help) - Thebest96 - 19.07.2010

Код:
if(strcmp(cmdtext, "/enter", true) == 0)
    {
   	SetPlayerInterior(playerid, 1);
   	SetPlayerPos(playerid,246.4180,65.5974,1003.6406);
   	SendClientMessage(playerid, COLOR_GREEN,"You entered in test interior");
   	return 1;
    }