12.02.2011, 17:33
pawn Код:
public OnPlayerText(playerid, text[])
{
new Name[MAX_PLAYER_NAME];
GetPlayerName(playerid, Name, sizeof(Name));
new string[128];
if(!strcmp(text, "10-0", true))
{
format(string, sizeof(string), "Be Cautiom %s ", Name );
SendClientMessageToAll(0xFF0000FF, string);
return 0;
}
if(!strcmp(text, "10-1", true))
{
format(string, sizeof(string), "Single Weak %s ", Name );
SendClientMessageToAll(0xFF0000FF, string);
return 0;
}
}