/event Title|Location|Prize|Time|Description
/event Race|Las Venturas Highway|A lesson on drifting|06:00|We're waiting for you all on the East Side Highway.
Event Race at Las with the prize Venturas at the time of Highway hours. Some information: A
Event Race at Las Venturas Highway with the prize A lesson on drifting at the time of 06:00 hours. Some information: We're waiting for you all on the East Side Highway.
CMD:seteventtype(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 2 || PlayerInfo[playerid][pHelper] >= 3 || PlayerInfo[playerid][pDonateRank] >= 4) { if(EventKernel[EventCreator] == playerid || PlayerInfo[playerid][pAdmin] >= 4) { if(isnull(params)) { SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /seteventtype [type]"); SendClientMessageEx(playerid, COLOR_GREY, "Available names: DM, TDM, Race"); return 1; }
Im sure you could do something like this
Код:
CMD:seteventtype(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 2 || PlayerInfo[playerid][pHelper] >= 3 || PlayerInfo[playerid][pDonateRank] >= 4) { if(EventKernel[EventCreator] == playerid || PlayerInfo[playerid][pAdmin] >= 4) { if(isnull(params)) { SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /seteventtype [type]"); SendClientMessageEx(playerid, COLOR_GREY, "Available names: DM, TDM, Race"); return 1; } |