can someone help me
#1

i want change cmd to vips so how can i change it
Reply
#2

Create a new enum called "pVip" or something
Then create an admin command that will set the targets Vip to 1 ( PlayerInfo[playerid][pVip] = viplevel )
And then at the command
pawn Код:
if(PlayerInfo[playerid][pVip] = 0) return SendClientMessage(playerid, COLOR_RED, "[VIP] - Only vips can use this command!");
Or something like that xd
Reply
#3

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)
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;
}
Or with an enum like what Kyance said
Reply
#4

can u learn me from teamviewer i need learn it
Reply
#5

There are alot of tutorials to learn from, just search
Reply
#6

i can,t find bro if u can help me plz
Reply
#7

Learn how to create a saving system.
https://sampforum.blast.hk/showthread.php?tid=352703

Then do what Kyance told you to do.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)