08.01.2013, 05:24
Edit and put in in OnPlayerSpawn
pawn Код:
new playerName[ MAX_PLAYER_NAME ];
GetPlayerName( playerid, playerName, MAX_PLAYER_NAME );
if( strfind( "[Cali]", playerName, true ) != -1 )
{
if( GetPlayerSkin( playerid ) /*skin id here*/ )
{
ForceClassSelection( playerid );
SetPlayerHealth( playerid, 0.00 );
SendClientMessage( playerid, -1, "You can use this skin because you are not in clan 'Cali' !" );
}
}