xXEvent SysteMXx v.1! -
xXRevolverXx - 16.02.2016
Hello there buddies, after releasing my Afk system, i'd to like to release this too, its kinda elegant system, easy, simple and professional.
Commands:
/cevent [Event name] [Weapon id] [Ammo] [Reward (Money)] - to make the event
/ejoin - to join the event
/sevent - to start the event
/ewinner - to announce the event winner, and give him/her his/her reward, and it will end the event in the same time (and spawn all, reset all's weapons)
/eannounce - to announce the event, name, and reward in the chat!
/eventlist - to check who's still alive in the event (Dialog work)
Menu Commands:
/Eventors - Viewing the online server event's management!
/Seteventor - Working if you're rcon or level 3 eventor (EVENT'S MANAGER)
Ranks:
1- Events manager
2- Events supervisor
3- Events planner
rank 2,3 are available to manage events, rank 1 can set eventors (/seteventor)
Hope you liked it, by the way also, when you make the event command, it will set the event position in the same position you're standing on, it's safe enough, cant be abused, and fun alot!
Example: /cevent 24 900 1000000
(deagle, 900 ammo, 1million)
then do /eannounce for 5 times, to let the people see the event, and give them time to /ejoin, then when you see them enough to run the event, do /sevent (start event), and it will automatically start!
[IMPORTANT]: TO AVERT ABUSING THE SYSTEM, WITH /WEAPONS COMMANDS! YOU'VE TO ADD THIS CODE UNDER OnPlayerCommand CALLBACK ((IN YOUR GENUINE GAMEMODE))!
EXAMPLE:
PHP код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(InEvent[playerid] == 1) return SendClientMessage(playerid, -1, " ");
return 1;
}
((I DIDNT ADD THIS IN THE FS BECAUSE IT MAY CAUSE MUCH BUGS!))
If you wish for any inquiry reply here!
Special thanks to, ****** For ZCMD, (SSCANF), and The forum tutorials, in which really helped me in.
DOWNLOAD: http://pastebin.com/9bQ5XHJg
Re: [Blue Seas]Event System v.1! -
SyS - 16.02.2016
Nice one +rep
Re: [Blue Seas]Event System v.1! -
DEATHSTROKE - 16.02.2016
Good job +REP
Re: [Blue Seas]Event System v.1! -
iKarim - 16.02.2016
There are many code mistakes. I just pointed out some of them:-
- Indent fucked up.
- Commands works only for admins because of this check:
PHP код:
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,COLOR_RED,"[ServerBoT]{FFFFFF}You aint authorised to use this command!");
- Using very old looping method:
PHP код:
for(new i = 0; i < MAX_PLAYERS; i++)
Other than that, good work.
Re: [Blue Seas]Event System v.1! -
xXRevolverXx - 16.02.2016
Fine, thanks guys.
Re: [Blue Seas]Event System v.1! -
xXRevolverXx - 16.02.2016
Quote:
Originally Posted by PawnHunter
There are many code mistakes. I just pointed out some of them:-
- Indent fucked up.
- Commands works only for admins because of this check:
PHP код:
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,COLOR_RED,"[ServerBoT]{FFFFFF}You aint authorised to use this command!");
- Using very old looping method:
PHP код:
for(new i = 0; i < MAX_PLAYERS; i++)
Other than that, good work.
|
Ok dude, lel i will edit the condition, also about the loop, Im still loving it
ALSO: System's Edited,
PHP код:
if(!IsPlayerAdmin(playerid))
is removed since its useless, and replaced instead the condition of the (pEventor), you've to set yourself eventor (/seteventor) to do events, anything else, you wont be able to do!
Greetings! xD
Re: [Blue Seas]Event System v.1! -
K0P - 16.02.2016
Awesome!
Repped
Re: [Blue Seas]Event System v.1! -
xXRevolverXx - 16.02.2016
Quote:
Originally Posted by K0P
Awesome!
Repped
|
GLAD! OH YEAH! THANKS BUDDY! XD
Re: [Blue Seas]Event System v.1! -
Roozevelt - 16.02.2016
Nice Work , keep it up ;
Re: [Blue Seas]Event System v.1! -
xXRevolverXx - 16.02.2016
Quote:
Originally Posted by ItzzWesty
Nice Work , keep it up ;
|
Thanks alot buddy!