11.08.2014, 08:50
I'll cut the slack. I'm creating a modular script (split in modules: callbacks, commands, functions, enums) and I ran across a problem that I cannot seem to figure out.
I have the following command in Commands.pwn, in the directory
gamemodes\Folder\Players.
Then, my Main.pwn file has the following (and much more, but I decided not to post everything):
However, when I type the command /island in-game, the "Unknown command" error message is sent to me. What should I do to fix this?
I have the following command in Commands.pwn, in the directory
gamemodes\Folder\Players.
pawn Код:
CMD:island(playerid, params[])
{
SetPlayerPos(playerid, -699.1899,-7450.6929,37.9266);
return 1;
}
pawn Код:
/*Zeex's command processor*/
#include <zcmd>
/* INIT PLAYER */
#include "../gamemodes/Folder/Players/Commands.pwn"