27.09.2012, 14:10
Quote:
i use
Код:
if(PlayerInfo[playerid][dRank] >= blabla) learn and second time i can do it by my own if you can +rep give me codes with if(PlayerInfo[playerid][dRank] >= balba) system |
pawn Код:
COMMAND:vchat(playerid,params[])
{
if(PlayerInfo[playerid][dRank] >= 1) // Level 1 VIP
{
new text[128];
if(sscanf(params, "s[128]", text))
{
SendClientMessage(playerid, -1,"Usage: /vsay [Message]");
return 1;
}
new string[128];
format(string, sizeof(string), "[VIP]%s: %s", GetName(playerid), text);
SendClientMessageToAll(0xDCDCDCFF,string);
}
else
{
SendClientMessage(playerid, -1,"You are not a VIP member");
}
return 1;
}