Command showing
#1

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
Reply
#2

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[])
Reply
#3

Nope nothing
Reply
#4

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.
Reply
#5

Код:
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?
Reply
#6

Код:
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
Reply
#7

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

Nothing just that command
Reply
#9

Maybe you have something like that in any script?
Reply
#10

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


Forum Jump:


Users browsing this thread: 1 Guest(s)