SA-MP Forums Archive
Spawn Bug - 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 Bug (/showthread.php?tid=357622)



Spawn Bug - Cypress - 07.07.2012

When I spawn player inside interior, sometimes he falls from the sky. I have tried to freeze player for 3-5 seconds but it seem to doesn't help. Is there something that can fix this or I'm doing something wrong? Is there really anything I could do about this?


Re: Spawn Bug - Vvolk - 07.07.2012

If your interior is mapped by you and it uses streamer to stream objects, then you need to rename streamer function to original samp function CreateObject, because streamer loads objects slower than original CreateObject. If interior is original, I think, you need to increase Z cordinate of player by 1 or 2.


Re: Spawn Bug - Cypress - 07.07.2012

I'm using default GTA interiors. Increasing Z wouldn't help. When I spawn I dont see the interior, just falling. I typed /interior it's id is correct.


Re: Spawn Bug - Roko_foko - 07.07.2012

Spawn it on position z+2 if you know what I mean.


Re: Spawn Bug - Warfish - 07.07.2012

Some interiors are not solid, they are only used for cut-scenes in gta sa singleplayer.


Respuesta: Spawn Bug - Chris1337 - 07.07.2012

maybe

pawn Код:
SetPlayerInterior(playerid, NUMBER);
Else you fell


Re: Spawn Bug - Vvolk - 09.07.2012

I think you're writing bad cordinates for this interior. Or interior is invalid...