28.12.2012, 16:54
Here's the command:
Everything is fine, but I get errors about defining symbols "restarting" and "gamemodeinitexitfunc" can anyone help me?
Код:
CMD:restart(playerid, params[])
{
if(IsPlayerConnected(playerid)) {
if(PlayerInfo[playerid][pAdmin] >= 1337) {
restarting = 1;
GameModeInitExitFunc();
} else {
SendClientMessage(playerid, COLOR_GRAD1, " You are not authorized to use that command !");
}
}
return 1;
}

