Posts: 49
Threads: 5
Joined: Nov 2015
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
Posts: 3,133
Threads: 71
Joined: Dec 2013
Reputation:
0
This has already been answered on this forum, search around and you will find what you are looking for.
Posts: 49
Threads: 5
Joined: Nov 2015
Bro,give me that topic,i need that,please
Posts: 3,133
Threads: 71
Joined: Dec 2013
Reputation:
0
Searching simply "SA-MP ladmin unban command" gave some results. ****** it or use the forum's search function, I promise you will find it.
Posts: 49
Threads: 5
Joined: Nov 2015
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
Posts: 3,133
Threads: 71
Joined: Dec 2013
Reputation:
0
So you are not using LAdmin as the title suggests? If you are not, post your ban command.
Posts: 49
Threads: 5
Joined: Nov 2015
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.
Posts: 1,266
Threads: 6
Joined: Oct 2014
i'm not sure but this should work .-.
PHP код:
CMD:unban(playerid,params[]) {
if(IsPlayerAdmin(playerid)) {
if(isnull(params)) return SendClientMessage(playerid, red, "USAGE: /unban [name]");
if(udb_Exists(params)) {
if(0 == 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(playerid, 0x00FFFFAA, string);
} else return SendClientMessage(playerid, 0xFF0000AA, "ERROR: File doesnt exist, player isnt registered");
} else return SendClientMessage(playerid, 0xFF0000AA, "ERROR: You need to be RCON to use this command");
}
Posts: 49
Threads: 5
Joined: Nov 2015
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
Posts: 1,506
Threads: 13
Joined: Jun 2015
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(playerid, red, "USAGE: /unban [name]");
if(udb_Exists(params)) {
if(0 == 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(playerid, 0x00FFFFAA, string);
} else return SendClientMessage(playerid, 0xFF0000AA, "ERROR: File doesnt exist, player isnt registered");
} else return SendClientMessage(playerid, 0xFF0000AA, "ERROR: You need to be RCON to use this command");
}
|
Works, Approved. Tested it with my GM and it works absolutely fine.