16.11.2015, 11:42
I've tried using just CMD: but then I get this error:
I've tried using lower letters (just "cmd") but then I get Error: Unknown command in game.
I tried using ZCMD: but then I get Error: Unknown command as well in game.
Here is my code for the command:
and I put it underneath this:
I have the following includes:
#include <a_samp>
#include <zcmd>
#include <YSI\y_ini>
#include <sscanf2>
It sais nothing about these commands in my server log.
Код:
C:\Users\KillingPigs123\Desktop\Cops and Robbers\gamemodes\prisonrp.pwn(323) : error 017: undefined symbol "makemeadmin" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
I tried using ZCMD: but then I get Error: Unknown command as well in game.
Here is my code for the command:
Код:
ZCMD:makemeadmin(playerid, params[]) { SendClientMessage(playerid, COLOR_RED, "Not today son."); return 1; } #pragma unused makemeadmin
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { return 0; }
#include <a_samp>
#include <zcmd>
#include <YSI\y_ini>
#include <sscanf2>
It sais nothing about these commands in my server log.