14.01.2015, 11:27
then do this:
pawn Код:
if(text[0] == '#' && PlayerInfo[playerid][Admin] >= 1)
{
new string[128];
GetPlayerName(playerid,string,sizeof(string));
format(string, sizeof(string), "[ADMIN] %s: %s", string, text[1]);
MessageToPlayerAdmin(grey, string);
return 0;
}
if(text[0] == '!' && PlayerInfo[playerid][VIP] >= 1) {
new string[128];
GetPlayerName(playerid, string, sizeof(string));
format(string, sizeof(string), "[DONATOR] %s: %s", string, text[1]);
MessageToPlayerVIP(green, string);
return 0;
}