Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×
  • 0

Help me ..


Question

Posted

Am un bug la o comanda .. Comanda /unban nu merge , nici /unbanip .. Am incercat in mai multe moduri dar nu stiu cum sa o rezolv.M-ati putea ajuta ?

1 answer to this question

Recommended Posts

Posted

if(strcmp(cmd,"/unbanip",true)==0)
	{
		if(PlayerInfo[playerid][pAdmin] >= 1337)
		{
		    tmp = strtok(cmdtext,idx);
		    if(!strlen(tmp))
		    {
		        SendClientMessage(playerid,COLOR_GRAD1,"USAGE: /unbanip [players ip]");
		        return 1;
   			}
			format(string,sizeof(string),"unbanip %s",tmp);
			SendRconCommand(string);
			SendRconCommand("reloadbans");
   			GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
			GetPlayerName(playerid, sendername, sizeof(sendername));
			format(string, sizeof(string), "IP-ul %s a fost unbannat",tmp);
			SendClientMessage(playerid, COLOR_LIGHTRED, string);
		}
		return 1;
	}

Incearco :|

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.