10.01.2013, 18:15
Код:
if(!strcmp("/stopwork", cmdtext, true))
{
if (IsPlayerInMission[playerid] == 0) return SendClientMessage(playerid, 0xFF0000AA, "You are not working right now. Use /work to work"); // prevents them if there currently not in a mission
IsPlayerInMission[playerid] = 0; // resets it so they can start another mission
CancelPlayersCurrentMission(playerid);
return 1;
}
return ShowPlayerDialog(playerid, Rules, DIALOG_STYLE_MSGBOX, "Title", "{00F6F6}Error 404 Not Found - Unknow Command:", "Button 1", "Salir");

