Disable a Command [URGENT HELP NEEDED] +rep
#5

Not possible without the .pwn file. You can however, make a filterscript to send a message to the player when they connect telling them not to use it.

pawn Код:
#include <a_samp>

public OnPlayerConnect(playerid)
{
    SendClientMessage(playerid, 0xFF0000FF, "The command '/mycommand' is currently bugged.  Please do not use this command, it will cause issues.");
    return 1;
}
Open pawno.exe, click new, erase everything and paste that in, save it as command.pwn, and click the blue play button to compile it. Drag the .AMX file into filterscripts, and in game type /rcon loadfs command.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)