SA-MP Forums Archive
OnPlayerRequestClass problem - 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: OnPlayerRequestClass problem (/showthread.php?tid=349517)



OnPlayerRequestClass problem - Blunt P - 09.06.2012

I got a weird Problem. I recenlty made a Login system and for some reason after you login it keeps using OnPlayerRequestClass.

I dont want it to force me to klick on "spawn" or the arrows until i spawn. Does someone have suggestions?


Re: OnPlayerRequestClass problem - Audi_Quattrix - 09.06.2012

Maybe OnPlayerConnect
SpawnPlayer(playerid);


Re: OnPlayerRequestClass problem - MP2 - 09.06.2012

If you want to bypass class selection use SpawnPlayer under OnPlayerRequestClass (you may have to delay it by ~100 MS on a timer).


AW: Re: OnPlayerRequestClass problem - Blunt P - 09.06.2012

Quote:
Originally Posted by MP2
Посмотреть сообщение
If you want to bypass class selection use SpawnPlayer under OnPlayerRequestClass (you may have to delay it by ~100 MS on a timer).
i accually did that, i guess its to fast. Ill try using a timer. Ill post the result here


AW: OnPlayerRequestClass problem - Blunt P - 09.06.2012

wont work, i have no idea what the hell is going on

EDIT:
nvm problem solved

/close


Re: OnPlayerRequestClass problem - vsimoes - 13.02.2013

Well, is a good idea to post the solutions...but who i am to judge anyone.