06.02.2012, 09:02
Hello,
How come that sometimes, when I type a custom rcon command on my server, the server just quits?
Filterscript:
I use this because without it, OnRconCommand in the gamemode won't be called.
(https://sampwiki.blast.hk/wiki/OnRconCommand)
Gamemode:
How come that sometimes, when I type a custom rcon command on my server, the server just quits?
Filterscript:
Код:
public OnRconCommand(cmd[]) { return 0; }
(https://sampwiki.blast.hk/wiki/OnRconCommand)
Gamemode:
Код:
public OnRconCommand(cmd[]) { new command[128]/*, tmp[128], String[128]*/, idx; command = strtok(cmd, idx); if(!strcmp(command, "limits", true)) { printf("Streamed objects:\t%i", F_CountObjects()); printf("Non-streamed objects:\t%i", DEBUG_ObjectsUsed); printf("Textdraws:\t\t%i", DEBUG_TextDrawsUsed); printf("3DTexts:\t\t%i", DEBUG_3DTextsUsed); printf("Gangzones:\t\t%i", DEBUG_GangZonesUsed); printf("Map icons:\t\t%i", DEBUG_MapIconsUsed); printf("Vehicles:\t\t%i", DEBUG_VehiclesUsed); printf("Pickups:\t\t%i", DEBUG_PickupsUsed); printf("Repeating timers:\t%i", DEBUG_RepeatingTimersUsed); } return 1; }