PDA

View Full Version : OnPlayerRequestClass bad call


saamp
25/09/2013, 08:27 AM
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.

SAMProductions
25/09/2013, 08:56 AM
Hey There saamp Brother/Sister :),

Can you give your Whole OnPlayerRequestClass Code ?

saamp
25/09/2013, 09:13 AM
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

Konstantinos
25/09/2013, 09:22 AM
Do you use ForceClassSelection at all?