22.02.2010, 21:17
Hey guys. I made a VIP system in Ladmin script. It works fine but I want a cmd to make someone VIP,
I can only do it in the scriptfiles now.
It must be something like this: this is how to make someone admin
http://pastebin.com/m71d18d04
I tryed some things but didn't work. If you need it, this is a cmd I made for a VIP.
It works though:
Please someone. help me. If you need more information. please ask
I can only do it in the scriptfiles now.
It must be something like this: this is how to make someone admin
http://pastebin.com/m71d18d04
I tryed some things but didn't work. If you need it, this is a cmd I made for a VIP.
It works though:
Код:
if(strcmp(cmd, "/vipheal", true) == 0) { if(PlayerInfo[playerid][vip] >= 1 || (playerid) ) { SetPlayerHealth(playerid,100); SendClientMessage(playerid,red,"You've got VIP healed. Don't abuse it."); } else return SendClientMessage(playerid,red,"ERROR: You are not a VIP"); }