06.02.2012, 16:33
1. Already said, when it's a sscanf-CMD like /warn or /goto or whatever, it gives the error: "sscanf error: System not initialised".
2.Yes, commands which aren't in communication with sscanf, like /energy:
3. Nope, it was first the /warn commands, all the other did work before this, only /warn gave me also that annoying error! Then (I restarted my server on this day 100 times), I restarted my server and I tried just for fun the commands, and then it started! None of the ssacnf-commands didn't work no more, all of them only showed me the usage and the error in the console appeared!
2.Yes, commands which aren't in communication with sscanf, like /energy:
PHP Code:
CMD:energy(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 5)
{
SetPlayerHealth(playerid, 100);
SendClientMessage(playerid, COLOR_GREY, "Health has been restored to 100.");
}
else
{
SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use that command!");
}
return 1;
}