OnPlayerRequestClass bad call - 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 bad call (
/showthread.php?tid=465961)
OnPlayerRequestClass bad call -
saamp - 25.09.2013
Hello guys. After I die for the first time, without pressing the F4 Key, OnPlayerRequestClass is called! I have to mention that I don't use any AddPlayerClass line in my script.
Re: OnPlayerRequestClass bad call -
SAMProductions - 25.09.2013
Hey There saamp Brother/Sister ,
Can you give your Whole OnPlayerRequestClass Code ?
Re: OnPlayerRequestClass bad call -
saamp - 25.09.2013
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
SpawnPlayer(playerid);
return 1;
}
I use this because I don't want like the player to choose the skin manually, it is given by the server xD
Re: OnPlayerRequestClass bad call -
Konstantinos - 25.09.2013
Do you use
ForceClassSelection at all?