[FilterScript] Clan skins
#1

Hello, guys help make the skins for a clan please, ie if you tag [HHT] that the skin is selected and there is no tag that says in chat that you are not in the clan for the clan skins ID 274,275,276 Sorry for bad english I'm from Russia
Reply
#2

Put at OnPlayerSpawn:
pawn Код:
new playerName[ MAX_PLAYER_NAME ];
GetPlayerName( playerid, playerName, MAX_PLAYER_NAME );
if( strfind( "[HHT]", playerName, true ) != -1 )
{
    if( GetPlayerSkin( playerid ) == 274 || GetPlayerSkin( playerid ) == 275 || GetPlayerSkin( playerid ) == 276 )
    {
        ForceClassSelection( playerid );
        SetPlayerHealth( playerid, 0.00 );
        SendClientMessage( playerid, -1, "You can use this skin becouse you are not in clan 'HHT' !" );
    }
}
EDIT: You must to post there: http://forum.sa-mp.com/forumdisplay.php?f=12
Reply
#3

= (When I put the tag [HHT], and chose me to kill the skin, and if I have any other nickname you selected skins, and I need to just [HHT] could select these skins
Reply
#4

Wrong section.

__________________
MY SERVER:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)