SA-MP Forums Archive
Rcon disables all commands - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Rcon disables all commands (/showthread.php?tid=173224)



Rcon disables all commands - [KMA]DlennartD - 01.09.2010

Hello,

I got a weird problem/bug.

When I log into Rcon, I'm not able to use commands any more.
The only commands I can use after logging into Rcon are the /rcon commands.

Please help


Re: Rcon disables all commands - WillyP - 01.09.2010

Have you put in any extra rcon stuff?


Re: Rcon disables all commands - [KMA]DlennartD - 01.09.2010

Only a few checks for commands to see if players are Rcon admin. Never got problems with that before.


Re: Rcon disables all commands - [KMA]DlennartD - 02.09.2010

I just run a test without filterscripts and still got this problem, so it must be in the gamemode.


Re: Rcon disables all commands - WillyP - 02.09.2010

Take out the stuff where it checks if the player is rcon admin? Show me the rcon part


Re: Rcon disables all commands - [KMA]DlennartD - 04.09.2010

I removed all IsPlayerAdmin but still got the same problem, it made no difference.

{EDIT}

I forgot one, I made a really stupid mistake:

Код:
if (strcmp("/Cnup", cmdtext, true, 10) == 0 || IsPlayerAdmin(playerid))
When you logged into rcon it kept doing this command.

Its fixed now, thanks for your help everybody!