Spawn To 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)
+--- Thread: Spawn To Interior (
/showthread.php?tid=313175)
Spawn To Interior -
Serifukas - 24.01.2012
Hello Everybody.
I make my own hospital interior, but now i get a problem.
When you die you will spawn to the hospital interior but when i spawn to interior i falling to the bottom of interior.
This is my spawn code:
Код:
SetSpawnInfo(playerid,GetPlayerTeam(playerid),GetPlayerSkin(playerid),-2645.6074,697.1324,27.9375,356.4937,0,0,0,0,0,0); //Hospital
Maybe something wrong with this code?
Re: Spawn To Interior -
Serifukas - 24.01.2012
I tested.
Then i testing interior in MTA player are not falling down interior.
But then i die in game and then spawning to interior i falling down there are a problem.
Maybe i must do virtual world or else thing ?
Re: Spawn To Interior -
henry jiggy - 24.01.2012
Virtual World has nothing to do with it.
maybe it is taking too much time to render or the interior didnt change propperly for some GTA or SAMP/MTA bug.
Try freezing the player for 5 seconds and applying him to the hospital interior about 10 times after u freeze him(yes lag is that painful ^^).