Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:v(playerid, params[])
- {
- if(GetPVarInt(playerid, "DonateRank") >= 1)
- {
- if (isnull(params)) return SendClientMessage(playerid, 0xFFFFFFFF, "USAGE: /v [text]");
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i))
- {
- if(GetPVarInt(i, "DonateRank") >= 1)
- {
- new str[128];
- format(str, sizeof(str), "[VIP CHAT] %s Says: %s", GetName(playerid), params);
- SendClientMessage(i, 0xC2A2DAAA, str);
- }
- }
- }
- }
- else SendClientMessage(playerid, 0xAA3333AA, "You are not a VIP!");
- return 1;
- }*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement