08.07.2016, 02:49
Alright so I was doing some things, messing around with modules for a gamemode,
Loading code from one file to anther, along with a few other things.
However, when I finally did a restart I noticed I lost the use of commands.
Regardless of the command I used it wouldn't work.
It just does nothing.
What are some common errors made, that would cause this?
I was using Pawn.cmd plugin, however I switched to ZCMD to see if that solved the issue
No results. My commands were working fine but I tried removing the module from my script, that didn't work
So if It wasn't that I have no idea the cause.
I do have
Located under my commands.
So it looks like this:
Loading code from one file to anther, along with a few other things.
However, when I finally did a restart I noticed I lost the use of commands.
Regardless of the command I used it wouldn't work.
It just does nothing.
What are some common errors made, that would cause this?
I was using Pawn.cmd plugin, however I switched to ZCMD to see if that solved the issue
No results. My commands were working fine but I tried removing the module from my script, that didn't work
So if It wasn't that I have no idea the cause.
I do have
PHP код:
public OnPlayerCommandText(playerid, cmdtext[])
{
return 0;
}
So it looks like this:
PHP код:
CMD:somecmd(playerid, params[])
{
return 1;
}
CMD:somecmd2(playerid, params[])
{
return 1;
}
CMD:somecmd3(playerid, params[])
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
return 0;
}