29.11.2009, 17:36
pawn Код:
new Name[MAX_PLAYER_NAME];
GetPlayerName(playerid, Name, sizeof(Name));
if(strcmp(Name, "John", true) == 0)
{
SendClientMessage(playerid, COLOR, "Welcome John!");
}
else
{
SendClientMessage(playerid, COLOR, "Good-bye");
Kick(playerid);
}