PHP Code:
public OnPlayerRequestSpawn(playerid)
{
if( IsPlayerNPC( playerid ) ) return 1;
if( GetPlayerSkin( playerid ) == 287 )
{
? ? SetSpawnInfo( playerid, 0, 0, g_SpawnJustice[ 0 ][ 0 ], g_SpawnJustice[ 0 ][ 1 ], g_SpawnJustice[ 0 ][ 2 ], g_SpawnJustice[ 0 ][ 3 ], 26, 36, 28, 150, 0, 0 );
}
else if( GetPlayerSkin( playerid ) == 287 )
{
? ? SetSpawnInfo( playerid, 0, 0, g_SpawnJustice[ 1 ][ 0 ], g_SpawnJustice[ 1 ][ 1 ], g_SpawnJustice[ 1 ][ 2 ], g_SpawnJustice[ 1 ][ 3 ], 26, 36, 28, 150, 0, 0 );
}
else if( GetPlayerSkin( playerid ) == 287 )
{
? ? SetSpawnInfo( playerid, 0, 0, g_SpawnJustice[ 2 ][ 0 ], g_SpawnJustice[ 2 ][ 1 ], g_SpawnJustice[ 2 ][ 2 ], g_SpawnJustice[ 2 ][ 3 ], 26, 36, 28, 150, 0, 0 );
}
return 1;
}
Idk if u can use this if you use class selection.
You probably only get that skin when u use class selection and spawn in to the world at least once