Disable Class Selection
#4

Quote:
Originally Posted by ZeMuNaC
Посмотреть сообщение
Try this code.
Код:
public OnPlayerRequestSpawn( playerid )
{
    return 1; // You must return 1 to do this. 
}
Код:
public OnPlayerRequestClass( playerid, classid )
{
    return 0; // Skipping the class request
}
Код:
public OnPlayerSpawn( playerid )
{
    SetPlayerSkin( playerid, 0 ); // Example
    SetPlayerPos( playerid, 0.0, 0.0, 0.0 );
    return 1;
}
It worked,thanks!+Rep
Reply


Messages In This Thread
Disable Class Selection - by Axel712 - 10.10.2015, 14:39
Re: Disable Class Selection - by jlalt - 10.10.2015, 14:41
Re: Disable Class Selection - by ZeMuNaC - 10.10.2015, 14:44
Re: Disable Class Selection - by Axel712 - 10.10.2015, 15:32

Forum Jump:


Users browsing this thread: 2 Guest(s)