19.08.2011, 17:44
Help make a few names!
{
new playerName[ MAX_PLAYER_NAME ];
GetPlayerName( playerid, playerName, MAX_PLAYER_NAME );
if( strfind( "[HHT]", playerName, true ) != 0 )
{
if( GetPlayerSkin( playerid ) == 112 || GetPlayerSkin( playerid ) == 124 || GetPlayerSkin( playerid ) == 125 )
{
SetPlayerHealth( playerid, 0.00 );
ForceClassSelection( playerid );
SendClientMessage( playerid, -1, "" );
}
}
{
new playerName[ MAX_PLAYER_NAME ];
GetPlayerName( playerid, playerName, MAX_PLAYER_NAME );
if( strfind( "[HHT]", playerName, true ) != 0 )
{
if( GetPlayerSkin( playerid ) == 112 || GetPlayerSkin( playerid ) == 124 || GetPlayerSkin( playerid ) == 125 )
{
SetPlayerHealth( playerid, 0.00 );
ForceClassSelection( playerid );
SendClientMessage( playerid, -1, "" );
}
}