[FilterScript] SPU's [Special Police Units]
#1

Another hello to you,

This time I used the new objects from 0.3c to make police lights on normal vehicles.

These cars can be spawned with a police light on the dashboard, or on the roof. It all works with a simple dialog which can be shown by typing /spu.

The lights can be put on and off by pressing the "2" key, (the submission-key). Note that the lights only work when it's dark, at daytime they will be turned off, unless you use some specific weatherid's, like i.e. 2.

New functions:
  • /destroyspu
    Destroys the SPU.
  • AddSPU(spuid, Float, Float:y, Float:z, Float:rotation, color1, color2, lightonoroff)
    Can be used to create a SPU without using the dialog, i.e. in OnFilterScriptInit.
  • ADMIN_USE and POLICE_USE
    ADMIN_USE --> Only admins can use /spu and /destroyspu
    POLICE_USE --> Only players with police skins can use /spu and /destroyspu
If you find any bugs, please report them to me.
-Lights will stop flashing when the vehicle drives at an angle, nothing to do about this, it's a GTA bug.

This will only work in 0.3c

Download links:
v4.0 on SolidFiles
v4.0 on PasteBin

Code:
Car list:
1  --- Sultan with lamp on dashboard.
2  --- Sultan with lamp on roof.
3  --- Cheetah with lamp on dashboard.
4  --- Cheetah with lamp on roof.
5  --- Washington with lamp on dashboard.
6  --- Washington with lamp on roof.
7  --- Premier with lamp on dashboard.
8  --- Premier with lamp on roof.
9  --- Huntley with lamp on dashboard.
10 --- Huntley with lamp on roof.
11 --- Buffalo with lamp on dashboard.
12 --- Buffalo with lamp on roof.
13 --- LSPD with lamp on dashboard.
14 --- LSPD with lamp on roof.
15 --- SFPD with lamp on dashboard.
16 --- SFPD with lamp on roof.
17 --- LVPD with lamp on dashboard.
18 --- LVPD with lamp on roof.
19 --- FireTruck
20 --- FBI-Truck
21 --- Towtruck
22 --- Stretch with lamp on dashboard.
23 --- Stretch with lamp on roof.
24 --- PCJ-600
25 --- FCR-900
26 --- Wayfarer
27 --- Super GT
28 --- Burrito with lamp on dashboard.
29 --- Burrito with lamp on roof.
30 --- BF Injection
31 --- Patriot
32 --- Barracks
33 --- Rhino





Reply
#2

Wow,simple but smart xD
Good job Geso!
Reply
#3

nice job
Reply
#4

Thnx guys, and if you have any suggestions for more cars, please tell me.
Reply
#5

You could add some lights to the LSPD Choppers too xD
Reply
#6

I think there would be a problem with the choppers, cause they would never fly horizontal. Lights will only work when they're in a horizontal position
Reply
#7

PASTEBIN !!!!!!! !!!!! !!!
Reply
#8

Quote:
Originally Posted by Geso
View Post
I think there would be a problem with the choppers, cause they would never fly horizontal. Lights will only work when they're in a horizontal position
Yea,ill try to test that,im curious!
Maybe some rhino's or the water tank xD
Reply
#9

This works only in dark...
Reply
#10

Quote:
Originally Posted by GaGlets®
Посмотреть сообщение
PASTEBIN !!!!!!! !!!!! !!!
Just download the normal script, shouldn't be so hard.


Quote:
Originally Posted by nielsbon1
Посмотреть сообщение
This works only in dark...
Yes it does.
Reply
#11

Why i need this working on day light
Reply
#12

It will never work in daylight because SA:MP only lets it work when it's dark, I can't do anything about it.
Reply
#13

Nice! Good job!
Reply
#14

Why does it creates another car once I /spu on eg. Sultan?
Reply
#15

Ehm, well, so you dont have to get yourself a sultan, it will spawn one

It's much easier this way
Reply
#16

Quote:
Originally Posted by Geso
Посмотреть сообщение
Just download the normal script, shouldn't be so hard.




Yes it does.
IT AIN'T EASY WHEN YOU ARE USING SOME GOD DAMN FUCKEDUP UPLOADING SITES!!!

pastebin pl0x!
Reply
#17

pastebin:
http://pastebin.com/z9bdQJ3Z
now edit your thread and put this in it
and gimme me credits
Reply
#18

Quote:
Originally Posted by Zh3r0
Посмотреть сообщение
IT AIN'T EASY WHEN YOU ARE USING SOME GOD DAMN FUCKEDUP UPLOADING SITES!!!

pastebin pl0x!
Ehm, alright, but I don't see what's wrong with the current links.

http://pastebin.com/BsJJECWB
Reply
#19

Quote:
Originally Posted by [OC]MestreKiller
Посмотреть сообщение
pastebin:
http://pastebin.com/z9bdQJ3Z
now edit your thread and put this in it
and gimme me credits
Too late, mate
Reply
#20

Can someone re-upload ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)