How to create filterscript for my own custom rcon commands
#2

You first need an admin system / vip system. But here is an example

pawn Код:
CMD:yourcommandname(playerid, params[])
{
    if(IsPlayerAdmin(playerid)) // Checks if player is rcon
    {
        // Do something here
    }
    else return SendClientMessage(playerid, -1, "You are not an RCON-Administrator"); // Send the error
    return 1;
}
Edit: Nevermind, didn't see "console"
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)