SA-MP Forums Archive
[FilterScript] Clan skins - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Clan skins (/showthread.php?tid=277643)



Clan skins - [HHT]DRON - 18.08.2011

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


Re: Clan skins - IstuntmanI - 18.08.2011

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


Re: Clan skins - [HHT]DRON - 18.08.2011

= (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


Re: Clan skins - [M.A]Angel[M.A] - 18.08.2011

Wrong section.

__________________
MY SERVER: