SA-MP Forums Archive
Spawning In Mid Air - 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: Spawning In Mid Air (/showthread.php?tid=402173)



Spawning In Mid Air - JustinAn - 25.12.2012

Hey guys, today I've a problem. First off, I used this Role Play quiz tutorial by Jafet Macario here. After finishing it, when it says oh you've passed the quiz, it spawns me in mid air, non-stop flying in the air while my character is bugged like this.



After the 'congratulations you've passed the quiz' I've setplayerpos into the original spawn I wanted, not work. Tried SetSpawnInfo, then SpawnPlayer after it, still not working. It just non-stop auto flys you in the air curled in a ball.

I'd like some solutions, thanks.



Re: Spawning In Mid Air - jNkk - 25.12.2012

Check interiors.


Re: Spawning In Mid Air - JustinAn - 25.12.2012

Quote:
Originally Posted by jNkk
Посмотреть сообщение
Check interiors.
Do you mean, SetPlayerInterior to 0?

EDIT: Acutally, fixed. Thanks jNkk, REP.


Re: Spawning In Mid Air - JustinAn - 25.12.2012

Ahhh, after using the SetPlayerInterior, worked. Did some changes on some other things not related to the quiz. Then tested it the new changes I did, didn't work. Now what?


Re: Spawning In Mid Air - Peach - 25.12.2012

https://sampforum.blast.hk/showthread.php?tid=391692

You wasn't the only one.. I had it too.


Re: Spawning In Mid Air - JustinAn - 25.12.2012

Quote:
Originally Posted by Peach
Посмотреть сообщение
https://sampforum.blast.hk/showthread.php?tid=391692

You wasn't the only one.. I had it too.
I didn't really get a solution there...

EDIT: Found the solution. I was toggling the spectating mode ON when it's asking to register/login then, I forgot to add the spectate Off at the quiz.