30.10.2015, 02:09
PHP код:
OnPlayerText
if(PlayerDados[player][Vip] == 1)
{
new vip[128];
format(vip,sizeof(vip), "[VIP]: %s %s",Nome(playerid), text);
SendClientMessageToAll(GetPlayerColor(playerid), vip);
}
else
{
//SE O PLAYER NГO FOR VIP
format(vip,sizeof(vip), "<%d> %s: %s",playerid, Nome(playerid), text);
SendClientMessageToAll(GetPlayerColor(playerid), vip);
}