06.06.2010, 23:55
My server currently has a Class Selection when you connect. I want to remove that and just have you login/register. Any ideas?
Originally Posted by Antonio (eternalrp.webatu.com)
Well I want them to spawn either way, and they need to go to binco to buy clothes later on.
|
public OnPlayerRequestClass(playerid, classid)
{
//SpawnPlayer(playerid) // This will probably not work, usualy the client is not ready
SetTimerEx("SpawnMe", 500, false, "i", playerid);// what i do is to spawn them 500 MS after they request a class...
return 1;
}
// small public function...
forward SpawnMe(playerid);
public SpawnMe(playerid)
{
SpawnPlayer(playerid);
return 1;
}