Posts: 131
Threads: 29
Joined: Mar 2014
Quote:
Originally Posted by Sawalha
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; }
|
Work
Thanks: +rep