Spawn To Interior
#1

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?
Reply
#2

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 ?
Reply
#3

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 ^^).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)