I Need Ladmin /unban Username
#1

Anyone,who can make ladmin /unban commands
i need that commands,please.who can make for me 1 ..
Please

CMD:unban

/unban name

pleassee

contact me via fb please,check my signature,i really need ladmin /unban commands

change banned=1 to banned=0
Reply
#2

This has already been answered on this forum, search around and you will find what you are looking for.
Reply
#3

Bro,give me that topic,i need that,please
Reply
#4

Searching simply "SA-MP ladmin unban command" gave some results. ****** it or use the forum's search function, I promise you will find it.
Reply
#5

I saw only UNBAN COMMAND Help.
But isnt help me,i dont find anything.

I use satdm gm edited n rename it to wxtdm,but i need /unban username

change banned=1 to banned=0
Reply
#6

So you are not using LAdmin as the title suggests? If you are not, post your ban command.
Reply
#7

I use ladmin system


i cant,i use phone now..
But my ladmin commands is iN CMD:test

zcmd

please help me,i need /ladmin /unban command
anyone who can help meh,please.
Reply
#8

i'm not sure but this should work .-.
PHP код:
CMD:unban(playerid,params[]) {
   if(
IsPlayerAdmin(playerid)) {
     if(
isnull(params)) return SendClientMessage(playeridred"USAGE: /unban [name]");
     if(
udb_Exists(params)) {
     if(
== dUserINT(params).("banned")) return SendClientMessage(playerid,red,"ERROR: Player is already unbanned");
     
dUserSetINT(params).("banned",0);
     new 
string[128];
     
PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
     
format(string,sizeof(string),"You have Successfully unbanned {FF0000}%s",params);
     return 
SendClientMessage(playerid0x00FFFFAAstring);
     } else return 
SendClientMessage(playerid0xFF0000AA"ERROR: File doesnt exist, player isnt registered");
   } else return 
SendClientMessage(playerid0xFF0000AA"ERROR: You need to be RCON to use this command");

Reply
#9

Dude,i need ladmin

/.sav not .ini
please help meh,i saw ban system with unban (mysql)
but i dont know how to connect to mysql n manage database
Reply
#10

Quote:
Originally Posted by jlalt
Посмотреть сообщение
i'm not sure but this should work .-.
PHP код:
CMD:unban(playerid,params[]) {
   if(
IsPlayerAdmin(playerid)) {
     if(
isnull(params)) return SendClientMessage(playeridred"USAGE: /unban [name]");
     if(
udb_Exists(params)) {
     if(
== dUserINT(params).("banned")) return SendClientMessage(playerid,red,"ERROR: Player is already unbanned");
     
dUserSetINT(params).("banned",0);
     new 
string[128];
     
PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
     
format(string,sizeof(string),"You have Successfully unbanned {FF0000}%s",params);
     return 
SendClientMessage(playerid0x00FFFFAAstring);
     } else return 
SendClientMessage(playerid0xFF0000AA"ERROR: File doesnt exist, player isnt registered");
   } else return 
SendClientMessage(playerid0xFF0000AA"ERROR: You need to be RCON to use this command");

Works, Approved. Tested it with my GM and it works absolutely fine.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)