Private Skin's Problem!
#5

pawn Код:
public OnPlayerSpawn(playerid)
{
    new
        PlayerName[MAX_PLAYER_NAME];

    GetPlayerName( playerid, PlayerName, MAX_PLAYER_NAME );
    if( GetPlayerSkin ( playerid ) == 21 )
    {
        if( !strcmp ( PlayerName, "[LSB]TheGame" ) )
        {
            SendClientMessage( playerid, -1, "Allowed to use this skin " );
        }
        else
        {
            ForceClassSelection( playerid );
            SetPlayerHealth( playerid, 0 );
            SendClientMessage( playerid, -1 ,"You are not [LSB]TheGame, choose another Skin!" );
        }
    }
    return true;
}
Reply


Messages In This Thread
Private Skin's Problem! - by Santox14 - 17.10.2011, 17:34
Re: Private Skin's Problem! - by Dark_Kostas - 17.10.2011, 18:06
AW: Private Skin's Problem! - by Santox14 - 17.10.2011, 18:09
Re: Private Skin's Problem! - by Dark_Kostas - 17.10.2011, 18:13
Re: Private Skin's Problem! - by SmiT - 17.10.2011, 18:14
AW: Private Skin's Problem! - by Santox14 - 17.10.2011, 18:15
Re: Private Skin's Problem! - by Stigg - 17.10.2011, 18:20
Re: Private Skin's Problem! - by SmiT - 17.10.2011, 18:21
AW: Private Skin's Problem! - by Santox14 - 17.10.2011, 19:52
AW: Private Skin's Problem! - by Santox14 - 17.10.2011, 20:00

Forum Jump:


Users browsing this thread: 1 Guest(s)