Posts: 73
Threads: 17
Joined: May 2010
Reputation:
0
How to make commands for a certain level?
Like this:
if (strcmp(cmd, "/healme", true) ==0)
{
if(Pinfo[playerid][Vip_Level <= 1])
{
format(string, sizeof(string), "You have healed the victim with 100% health (+$100)");
SendClientMessage(playerid, COLOR_WHITE, string);
SetPlayerHealth(giveplayerid, 100.0);
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Je bent geen admin dus je mag dit niet gebruiken!");
}
return 1;
}
I get these errors.
I only found like if(Pinfo[playerid][Vip_Level] But I want to make commands for a certain level or for like level only for 2 or 3.
D:\joram server\gamemodes\Libertylife1.pwn(1507) : warning 213: tag mismatch
D:\joram server\gamemodes\Libertylife1.pwn(1507) : warning 213: tag mismatch
Posts: 73
Threads: 17
Joined: May 2010
Reputation:
0
Yeah why you need screens when I use this how can I made command for a certain level for example
/vr for VIP level 3
Posts: 73
Threads: 17
Joined: May 2010
Reputation:
0
Yeah those command I get.
But I want to put myself commands in it.
Posts: 358
Threads: 22
Joined: Feb 2013
Reputation:
0
any imageS? more info ? like commands .. 1/10 ..