[FilterScript] Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer )
#22

Some errors:
1. You're mixing indentation styles.

2. This can be shortened:
PHP код:
JOB_DELIVERER_VEHICLESDELIVERER_VEHICLES] ] = 0JOB_DELIVERER_VEHICLESDELIVERER_VEHICLES] ]= 0;
    
JOB_DELIVERER_VEHICLESDELIVERER_VEHICLES] ] = 0JOB_DELIVERER_VEHICLESDELIVERER_VEHICLES] ]= 0;
    
JOB_DELIVERER_VEHICLESDELIVERER_VEHICLES] ] = 0JOB_DELIVERER_VEHICLESDELIVERER_VEHICLES] ]= 0
3. Your commands has a very different style, which can be shortened.

4. Remove , params[]) if params aren't used in the commands.

5. Why you're using public keyword and forwarding them if they are used like ordinary functions?

6. Optimize this
PHP код:
if(VID == DELIVERER_VEHICLES] || VID == DELIVERER_VEHICLES] || VID == DELIVERER_VEHICLES] || VID == DELIVERER_VEHICLES] || VID == DELIVERER_VEHICLES] || VID == DELIVERER_VEHICLES]) 
7. Shorten if statements by combining them into one or so.

8. Use Streamer functions instead of using ordinary checkpoints or pick-ups, use dynamic areas and stuff.
Reply


Messages In This Thread
Fuel Deliverer Job v1.6 | ( foreach, izcmd, streamer ) - by Bolex_ - 18.03.2017, 16:10
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by SyS - 18.03.2017, 16:37
Respuesta: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by Whyd - 18.03.2017, 17:09
Re: Respuesta: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by Bolex_ - 18.03.2017, 17:28
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by Hunud - 18.03.2017, 18:06
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by Jelly23 - 18.03.2017, 18:16
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by cuber - 18.03.2017, 19:24
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by Bolex_ - 18.03.2017, 20:02
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by Variable™ - 18.03.2017, 20:06
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by RyderX - 18.03.2017, 20:26
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by Bolex_ - 18.03.2017, 21:03
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by PetritImeri - 18.03.2017, 21:10
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by Bolex_ - 18.03.2017, 21:37
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by Hunud - 19.03.2017, 08:20
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by Hunud - 19.03.2017, 09:11
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by Bolex_ - 19.03.2017, 10:02
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by Hunud - 19.03.2017, 10:38
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by Bolex_ - 19.03.2017, 11:24
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by Hunud - 19.03.2017, 13:25
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by Bolex_ - 19.03.2017, 14:28
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by AndySedeyn - 20.03.2017, 00:14
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by Logic_ - 20.03.2017, 09:33
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by Bolex_ - 20.03.2017, 15:12
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by Hunud - 20.03.2017, 16:51
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by Bolex_ - 20.03.2017, 18:32
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by Hunud - 21.03.2017, 11:18
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by Bolex_ - 21.03.2017, 18:23
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by Bolex_ - 23.03.2017, 20:02
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by Hunud - 26.03.2017, 11:52
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by LittleSpy - 30.03.2017, 01:52
Re: Fuel Deliverer Job v1.5 | ( foreach, izcmd, streamer ) - by Bolex_ - 06.04.2017, 19:39

Forum Jump:


Users browsing this thread: 1 Guest(s)