SA-MP Forums Archive
[HELP] Spawning in a interior? - 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: [HELP] Spawning in a interior? (/showthread.php?tid=82749)



[HELP] Spawning in a interior? - FreddeN - 20.06.2009

Hello again.
The title says it all...
I want the players to spawn in a interior after selecting skin.

This is the coordinates to the interior, with skin, for for a example.

Код:
AddPlayerClass(0,2340.0173,-1063.9569,1049.0234,90.2175,0,0,0,0,0,0);
Dont remember the interior ID...

Thanks for the support!


Re: [HELP] Spawning in a interior? - Joe Staff - 20.06.2009

OnPlayerSpawn(playerid)
{
SetPlayerInterior(playerid,DontRememberTheInterior ID);
}


Re: [HELP] Spawning in a interior? - Correlli - 20.06.2009

Uset SetPlayerInterior at OnPlayerSpawn to set correct interior.

Edit: SilentHuntR was faster.