[FilterScript] Police Faction/System ! [v1.0] -> Base Included
#11

There are a lot of repetition in your code, thats very bad coding.


You wanna avoid that.


Try to use seperate functions, instead of calling it directly every time.


Also dont use
PHP Code:
OnPlayerUpdate 
for that stuff.


Because you know exatly the time when he get wanteds, so you can change the color there.


No need to check every ms 1000 times.


And the check in
PHP Code:
OnPlayerEnterVehicle 
is complete wrong.


That will not work.


It means you can enter every car and it will say you are in a police car.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)