[FilterScript] DeathMatch Event [Friendly, Funny, Controllable]
#18

Quote:
Originally Posted by RxErT
Посмотреть сообщение
Mate, i used the site which SyS's sent, it's for fixing indentation and it's fixed,
Btw, what's is the different between foreach(Player, i) and foreach(new i : Player) ?
Yep, my bad. Pastebin make some things weird on your script. Also, you should intend the beginning
PHP код:
new
InEvent[MAX_PLAYERS],  //Checking player if he is in/out event
EventOpened[MAX_PLAYERS], //Checking if Event is opened to join it.
weapon//Weapon variable.
->
new
    InEvent
[MAX_PLAYERS],  //Checking player if he is in/out event
    
EventOpened[MAX_PLAYERS], //Checking if Event is opened to join it.
    
weapon//Weapon variable. 
It looks like better. If you don't know, learn (not for this case) to intend your code. The website should just help you to understand how to do it.
The last one is the most recent version. The other one is deprecate.
Reply


Messages In This Thread
DeathMatch Event [Friendly, Funny, Controllable] - by RxErT - 17.05.2017, 10:54
Re: DeathMatch Event [Friendly, Funny, Controllable] - by Infinity - 17.05.2017, 11:06
Re: DeathMatch Event [Friendly, Funny, Controllable] - by RxErT - 17.05.2017, 11:08
Re: DeathMatch Event [Friendly, Funny, Controllable] - by coool - 17.05.2017, 11:14
Re: DeathMatch Event [Friendly, Funny, Controllable] - by RxErT - 17.05.2017, 11:22
Re: DeathMatch Event [Friendly, Funny, Controllable] - by Infinity - 17.05.2017, 11:22
Re: DeathMatch Event [Friendly, Funny, Controllable] - by coool - 17.05.2017, 11:32
Re: DeathMatch Event [Friendly, Funny, Controllable] - by RxErT - 17.05.2017, 11:52
Re: DeathMatch Event [Friendly, Funny, Controllable] - by Dayrion - 17.05.2017, 17:06
Re: DeathMatch Event [Friendly, Funny, Controllable] - by JustMe.77 - 17.05.2017, 18:13
Re: DeathMatch Event [Friendly, Funny, Controllable] - by RxErT - 17.05.2017, 18:41
Re: DeathMatch Event [Friendly, Funny, Controllable] - by RxErT - 18.05.2017, 08:24
Re: DeathMatch Event [Friendly, Funny, Controllable] - by Infinity - 18.05.2017, 08:32
Re: DeathMatch Event [Friendly, Funny, Controllable] - by SyS - 18.05.2017, 08:34
Re: DeathMatch Event [Friendly, Funny, Controllable] - by RxErT - 18.05.2017, 08:50
Re: DeathMatch Event [Friendly, Funny, Controllable] - by Dayrion - 18.05.2017, 12:13
Re: DeathMatch Event [Friendly, Funny, Controllable] - by RxErT - 18.05.2017, 19:47
Re: DeathMatch Event [Friendly, Funny, Controllable] - by Dayrion - 18.05.2017, 21:43
Re: DeathMatch Event [Friendly, Funny, Controllable] - by RxErT - 19.05.2017, 06:27
Re: DeathMatch Event [Friendly, Funny, Controllable] - by XxMadmanxX - 21.05.2017, 21:28
Re: DeathMatch Event [Friendly, Funny, Controllable] - by RxErT - 22.05.2017, 12:08
Re: DeathMatch Event [Friendly, Funny, Controllable] - by RxErT - 24.02.2018, 12:45

Forum Jump:


Users browsing this thread: 3 Guest(s)