[FilterScript] [Blue Seas]Event System v.1!
#6

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 0MAX_PLAYERSi++) 
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
Reply


Messages In This Thread
xXEvent SysteMXx v.1! - by xXRevolverXx - 16.02.2016, 00:49
Re: [Blue Seas]Event System v.1! - by SyS - 16.02.2016, 01:31
Re: [Blue Seas]Event System v.1! - by DEATHSTROKE - 16.02.2016, 01:52
Re: [Blue Seas]Event System v.1! - by iKarim - 16.02.2016, 04:05
Re: [Blue Seas]Event System v.1! - by xXRevolverXx - 16.02.2016, 13:25
Re: [Blue Seas]Event System v.1! - by xXRevolverXx - 16.02.2016, 13:37
Re: [Blue Seas]Event System v.1! - by K0P - 16.02.2016, 16:23
Re: [Blue Seas]Event System v.1! - by xXRevolverXx - 16.02.2016, 17:42
Re: [Blue Seas]Event System v.1! - by Roozevelt - 16.02.2016, 18:49
Re: [Blue Seas]Event System v.1! - by xXRevolverXx - 16.02.2016, 18:53

Forum Jump:


Users browsing this thread: 1 Guest(s)