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

I like how you put excessive whitespaces everywhere and then cram everything together elsewhere:
PHP код:
for( new j=0;j<6;j++ ) 
xd
Reply
#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
#23

Quote:
Originally Posted by AndySedeyn
Посмотреть сообщение
I like how you put excessive whitespaces everywhere and then cram everything together elsewhere:
PHP код:
for( new j=0;j<6;j++ ) 
xd
Going to solve this all soon as i re-install my windows
Reply
#24

Will wait for fix. Keep good work
Reply
#25

Tnx
Reply
#26

I make new map and there is remove object but where i put it?
Reply
#27

Quote:
Originally Posted by Hunud
Посмотреть сообщение
I make new map and there is remove object but where i put it?
New objects replace inside OnFilterScriptInit() and RemoveBuildingForPlayer inside OnPlayerConnect()

OT: *Some changes are made in script!*
Reply
#28

Thanks
Reply
#29

Quote:
Originally Posted by Scripter18
Посмотреть сообщение
New objects replace inside OnFilterScriptInit() and RemoveBuildingForPlayer inside OnPlayerConnect()

OT: *Some changes are made in script!*
Thanks
Reply
#30

Good Job
Reply
#31

Quote:
Originally Posted by Inceptio
Посмотреть сообщение
Perfecto FS.
I'm glad you like it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)