11.05.2013, 17:52
Tenta assim !
pawn Код:
CMD:vip(playerid, params[])
{
if(Player[playerid][pVIP] < 1) return SendClientMessage(playerid, COLOR_RED, "{FFFFFF}|FAIL|{BEBEBE} Vocк nгo й um vip. Consulte nosso /forum e saiba como se tornar um.");
if(!strlen(params)) return SendClientMessage(playerid, COLOR_GREY, "{FFFFFF}|USO|{BEBEBE} /vip [chat]");
format(thestring, 128," %s %s: %s, cвmbio.", AccountVIP(i), Player[i][pName], params);
for(static i = GetMaxPlayers()-1; i > -1; --i)
{
if(IsPlayerConnected(i) && Player[i][pVIP] > 0)
{
SendClientMessage(i, Color_Team,thestring);
}
}
return 1;
}