unban cmd help
#1

Hi guys, I'm trying to add unban cmd to my Gamemode

Код:
CMD:unban(playerid,params[]) {
	if(PlayerInfo[playerid][LoggedIn] == 1) {
		if(PlayerInfo[playerid][Level] >= 2) {
        new
			string[42],nickname[50];
        if(sscanf(params, "s[50]s[48]", nickname)) return SendClientMessage(playerid, -1, "USAGE: /Unban (Nickname)");

				CMDMessageToAdmins(playerid,"UNBAN");
                SaveToFile("BanLog",string);
				return VUnBan(playerid,nickname);
		} else return SendClientMessage(playerid,red,"ERROR: You are not a high enough level to use this command");
	} else return SendClientMessage(playerid,red,"ERROR: You must be logged in to use this commands");
}
Can you tell me how to fix it?
Код:
\Desktop\COD WAW [LK]lewis\gamemodes\codwaw32.pwn(11076) : error 017: undefined symbol "VUnBan"
Reply
#2

You need find VUnBan function
Reply
#3

Where to find it and could you help me in forum pm please man?
Reply
#4

There where you found this command :P
Reply
#5

It doesn't work i just tested it, Can you give me a good unban command to use it in my COD server?
Reply
#6

I don't know what ban system you got
Reply
#7

Can we talk in PM to help me pls?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)