SA-MP Forums Archive
Command showing - 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: Command showing (/showthread.php?tid=577374)



Command showing - kalanerik99 - 11.06.2015

Hello
I have one problem!
If I am logged in (RCON) it shows me this
When player execute command:
Код:
[08:32:14] *** [UGF]DarkBo$$ (0) typed: /teles
And that is for every command!
How to remove this?
I searched whole forum but nothing
Amd I dont have that Sendclientmessage format anywere


Re: Command showing - SickAttack - 11.06.2015

Look at your callbacks which are related to command processing and usage.

ZCMD:
pawn Код:
public OnPlayerCommandReceived(playerid, cmdtext[]);
public OnPlayerCommandPerformed(playerid, cmdtext[], success);
"strcmp" commands:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])



Re: Command showing - kalanerik99 - 11.06.2015

Nope nothing


Re: Command showing - AroseKhanNiazi - 11.06.2015

which command processor are you using ?
by that tutorial link in your signature it looks like u use zcmd and look for this
pawn Код:
public OnPlayerCommandReceived(playerid, cmdtext[])
{
return 1;
}
if nothing is here you can check your filterscripts too.


Re: Command showing - kalanerik99 - 11.06.2015

Код:
public OnPlayerCommandReceived(playerid, cmdtext[])
{
if(PlayerInfo[playerid][Jailed] == 1)
{
GameTextForPlayer(playerid,"~r~You are in ~g~jail~r~!", 3000,5);
return 0;
}
return 1;
}
Anything wrong?


Re: Command showing - kalanerik99 - 11.06.2015

Код:
CMD:derby(playerid,params[])
{
for(new x = 0; x < 6; x++)
{
if(DerbyVehicle[occupied][x]) continue;
else
{
DerbyVehicle[occupied][x] = true;
SetPlayerVirtualWorld(playerid,23);
PutPlayerInVehicle(playerid, DerbyVehicle[id][x], 0);
}
break;
}
return 1;
}
I disabled derby filescript and now it doesnt show it anymore
Whats wrong here


Re: Command showing - AroseKhanNiazi - 11.06.2015

Try looking for
pawn Код:
public OnPlayerCommandReceived(playerid, cmdtext[])
in this filterscript


Re: Command showing - kalanerik99 - 11.06.2015

Nothing just that command


Re: Command showing - Huba - 11.06.2015

Maybe you have something like that in any script?


Re: Command showing - kalanerik99 - 11.06.2015

OOOH shit read everything before posting!!!!!!!!!