i have created an anti- hacker security system to my server
#2

You cant use the %s, %d, ... format symbols in every command, so you have to create the string you want to have with 'format' first

pawn Код:
new IPP[16], text[24];
GetPlayerIp(playerid, IPP, sizeof(IPP));
format(text, sizeof(text), "banip %s", IPP);  //this formats the string you want to have
SendRconCommand(text);                        //and saves it to text
Reply


Messages In This Thread
i have created an anti- hacker security system to my server - by LZLo - 21.12.2010, 08:30
Re: i have created an anti- hacker security system to my server - by Mauzen - 21.12.2010, 08:34
Re: i have created an anti- hacker security system to my server - by LZLo - 21.12.2010, 08:36

Forum Jump:


Users browsing this thread: 1 Guest(s)