SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 23/02/2018, 03:47 PM   #131
Yousha
Banned
 
Join Date: May 2013
Posts: 118
Reputation: 7
Default Re: Police Flash V1.0

yea put these codes into a function instead of copy/paste it everywhere:

Code:
obj[vehicleid] = CreateObject(18646, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
                                obj2[vehicleid] = CreateObject(18646, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
                                AttachObjectToVehicle(obj[vehicleid], vehicleid, 0.599999,-0.375000,0.899999,0.000000,0.000000,0.000000);
                                AttachObjectToVehicle(obj2[vehicleid], vehicleid, -0.599999,-0.375000,0.899999,0.000000,0.000000,0.000000);
 
                                GetVehicleDamageStatus(vehicleid,panels,doors,lights,tires);
                                Flasher[vehicleid] = 1;
and try to use OnVehicleDamageStatusUpdate callback instead of Timer

Also learn to use Github or Gitlab, instead of Pastebin
Yousha is offline   Reply With Quote
Old 24/02/2018, 02:55 AM   #132
SeanDenZYR
Big Clucker
 
Join Date: May 2016
Location: Philippines!!
Posts: 175
Reputation: 20
Default Re: Police Flash V1.0

old but gold
SeanDenZYR is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
0.3e Flash bug WarriorEd22 Bug Reports 2 10/05/2012 01:49 AM
[FilterScript] The Flash - DC now goes in SA:MP ! DarkyTheAngel Filterscripts 13 24/02/2012 06:54 PM
Flash Help ? Makaevil Everything and Nothing 0 01/01/2012 10:02 PM
Flash Help :T mave_man Everything and Nothing 6 30/11/2008 02:27 PM


All times are GMT. The time now is 02:46 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.