#define MAX_BOX 1 enum boxE { boxID, boxTitle[32], boxStatus, boxVehicle, boxMoney, boxFireWorks, boxClearWarns, boxClearFP, boxHidden, boxMats, boxPP, boxTime[32], new boxVariables[MAX_BOX][boxE]; }
CMD:giftbox(playerid, params[]) { if(playerVariables[playerid][pAdminLevel] != 6) return SCM(playerid, -1, AdminOnly); new string[256]; format(string, sizeof(string), "[%s][%s][%d][%d][%d][%d][%d][%d][%d][%d][%d]", boxVariables[0][boxTime], boxVariables[0][boxTitle], boxVariables[0][boxStatus], boxVariables[0][boxVehicle], boxVariables[0][boxMoney], boxVariables[0][boxFireWorks], boxVariables[0][boxClearWarns], boxVariables[0][boxClearFP], boxVariables[0][boxHidden], boxVariables[0][boxMats], boxVariables[0][boxPP]); SendClientMessage(playerid, 0xFFCFFFCFFF, string); return 1; }
#define MAX_BOX 1 enum boxE { boxID, boxTitle[32], boxStatus, boxVehicle, boxMoney, boxFireWorks, boxClearWarns, boxClearFP, boxHidden, boxMats, boxPP, boxTime[32] }; new boxVariables[MAX_BOX][boxE];
Код:
#define MAX_BOX 1 enum boxE { boxID, boxTitle[32], boxStatus, boxVehicle, boxMoney, boxFireWorks, boxClearWarns, boxClearFP, boxHidden, boxMats, boxPP, boxTime[32] }; new boxVariables[MAX_BOX][boxE]; |
#define MAX_BOX 1
enum boxE
{
boxID,
boxTitle[32],
boxStatus,
boxVehicle,
boxMoney,
boxFireWorks,
boxClearWarns,
boxClearFP,
boxHidden,
boxMats,
boxPP,
boxTime[32]
}
new boxVariables[MAX_BOX][boxE];