SA-MP Forums Archive
Need help with unbanip in a command, - 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: Need help with unbanip in a command, (/showthread.php?tid=456176)



Need help with unbanip in a command, - Glenn332 - 04.08.2013

Alright so i have been trying multiple ways of making a CMD which unbans IP's from samp.ban but the IP from my scriptfiles .sav is there but it aint going in the string, Does anyone know how to fix this?

Код:
format(file, 128, "/LuxAdmin/Accounts/%s.sav", params);
format(string1, sizeof(string1), "unbanip %s", dini_Int(file, "Ip"));
	SendRconCommand(string1);



Re: Need help with unbanip in a command, - Private200 - 04.08.2013

I'd suggest you to get a better admin system. No one will join your server from the moment that your password is not hashed. You can use YSI too as a file writer/saver.


Re: Need help with unbanip in a command, - Glenn332 - 04.08.2013

Wut, my passwords are being hashed. These are IP's.