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



OnPlayerRequestClass/SetupClassForSelection - imnoob - 13.07.2013

why when i login somethimes gives me this but i can move with my character and i must do relog :S
is the problem in the
http://zaslike.com/viewer.php?file=i...8t6o2wnegr.png

Код:
public SetPlayerTeamFromClass(playerid,classid) 
public SetupPlayerForClassSelection(playerid)
 or 
public OnPlayerRequestClass(playerid, classid) ?



Respuesta: OnPlayerRequestClass/SetupClassForSelection - PHudson - 13.07.2013

Try using SetCameraBehindPlayer after spawning the player.


Re: OnPlayerRequestClass/SetupClassForSelection - imnoob - 13.07.2013

i dont have SetCameraBehindPlayer i saw from the older gamemode its same as my newer gamemode so whats the problem. Then


Respuesta: Re: OnPlayerRequestClass/SetupClassForSelection - PHudson - 13.07.2013

Quote:
Originally Posted by imnoob
Посмотреть сообщение
i dont have SetCameraBehindPlayer
Add it to your code then.


Re: Respuesta: Re: OnPlayerRequestClass/SetupClassForSelection - imnoob - 13.07.2013

Quote:
Originally Posted by PHudson
Посмотреть сообщение
Add it to your code then.
i dont know even what u need the OnPlayerRequestClass
SetupClassForSelection or what ?