Ban ........ appeal on forums - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Ban ........ appeal on forums (
/showthread.php?tid=100134)
Ban ........ appeal on forums -
Jake Canfield - 03.10.2009
Hi there, it's me jake again.
I was just wondering if anyone can help me with how to make it so.... when I ban someone it says Admcmd: Jake_Canfield banned : Playernamehere for reason here Appeal on forums.
instead of Admcmd: Jake_Canfield banned: Playernamehere for reason here.
Re: Ban ........ appeal on forums -
_Vortex - 03.10.2009
Change it in the code..?
'-.-
Re: Ban ........ appeal on forums -
Peter_Corneile - 03.10.2009
format strings
Re: Ban ........ appeal on forums -
Battleskull - 03.10.2009
It will be easyer to help if you show us your ban command script
Re: Ban ........ appeal on forums -
Jake Canfield - 03.10.2009
Well im running Larp.
Re: Ban ........ appeal on forums -
Jofi - 03.10.2009
Just Edit Red Lines
Quote:
if(strcmp(cmd, "/ban", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /ban [playerid/PartOfName] [reason]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if (PlayerInfo[playerid][pAdmin] >= 1)
{
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= ' '))
{
idx++;
}
new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /ban [playerid/PartOfName] [reason]");
return 1;
}
new year, month,day;
getdate(year, month, day);
format(string, sizeof(string), "AdmCmd: %s was banned by %s, reason: %s (%d-%d-%d)", giveplayer, sendername, (result),month,day,year);
BanLog(string);
format(string, sizeof(string), "AdmCmd: %s was banned by %s, reason: %s", giveplayer, sendername, (result));
SendClientMessageToAll(COLOR_LIGHTRED, string);
PlayerInfo[giveplayerid][pLocked] = 1;
Ban(giveplayerid);
return 1;
}
}//not connected
}
else
{
format(string, sizeof(string), " %d is not an active player.", giveplayerid);
SendClientMessage(playerid, COLOR_GRAD1, string);
}
}
return 1;
}
|
Re: Ban ........ appeal on forums -
Clank - 03.10.2009
just do something like:
format(string, sizeof(string), "AdmCmd: %s was banned by %s, reason: %s
Appeal on forums.", giveplayer, sendername, (result));
Re: Ban ........ appeal on forums -
Juan_Chavez - 17.06.2011
could someone unban me.. the ban was suppost to be only 3 days.. almost a week has gone..
Re: Ban ........ appeal on forums -
Lorenc_ - 17.06.2011
Quote:
Originally Posted by Juan_Chavez
could someone unban me.. the ban was suppost to be only 3 days.. almost a week has gone..
|
You're VERY VERY LATE.
03/10/2009 09:29 PM
Dude, check the date before you humiliate your self.
Re: Ban ........ appeal on forums - Max_Coldheart - 17.06.2011
Quote:
Originally Posted by Juan_Chavez
could someone unban me.. the ban was suppost to be only 3 days.. almost a week has gone..
|
This idiot posts everywhere + you will just get banned again for ban evading
Quote:
Originally Posted by SAMP
This forum requires that you wait 120 seconds between posts. Please try again in 12 seconds.
|