28.11.2013, 11:05
You want to change cmd to vips ?
I don't understand, I think you want to make a command for only premium players ? if yes then You should have a variable with the player Vip level and check if it's more then 0(for example)
Or with an enum like what Kyance said
I don't understand, I think you want to make a command for only premium players ? if yes then You should have a variable with the player Vip level and check if it's more then 0(for example)
pawn Код:
new VIP[MAX_PLAYERS];
CMD:test(playerid, params[]) //Using ZCmd
{
if(VIP[playerid] == 0)
{
// If he isn't premium..
return SendClientMessage(playerid, -1 "You're not premium");
}
// If he is premium
return 1;
}