16.11.2010, 12:11
You're probably just testing with the switch statement, but just to make sure I thought I'd mention you should do it like this:
The country index should be used for stuff like this (well, preferably not ):
pawn Код:
printf( "%s connected from %s.", name, GetPlayerCountryName( playerid ) );
pawn Код:
if ( GetPlayerCountryIndex( playerid ) == COUNTRY_SE )
{
SendClientMessage( playerid, -1, "No blond people allowed!" );
Kick( playerid );
}