SA-MP Forums Archive
unban cmd help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: unban cmd help (/showthread.php?tid=597857)



unban cmd help - Droxx - 05.01.2016

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"



Re: unban cmd help - Jefff - 05.01.2016

You need find VUnBan function


Re: unban cmd help - Droxx - 05.01.2016

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


Re: unban cmd help - Jefff - 05.01.2016

There where you found this command :P


Re: unban cmd help - Droxx - 05.01.2016

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


Re: unban cmd help - Jefff - 05.01.2016

I don't know what ban system you got


Re: unban cmd help - Droxx - 05.01.2016

Can we talk in PM to help me pls?