[FilterScript] LSPD Equipment
#1

Hi there!
I've made a nice filterscript :P - LSPD Equipment.
With this, you can go equip yourself at the LSPD lockers room.

Features
* Dialog system, dialog ID's edittable (if you already use the ID's in another script). The same with the armour
* Select skin (guard, officer, motor officer, SWAT)
* Select weapons: Melee, Backup, Sub machine gun, Big weapon, Heavy weapon, Throw weapon, put back
* Put on/off armour with real object (samp custom object)
* When armour is 0 while you have it on, it'll be removed
* Health pills for health
* Select template (guard, patrol officer, swat / tactical)
* Open the dialog with /lspdequip at the open locked inside the LSPD lockers room

Installation
Copy the code from pastebin (see link below) and paste it to pawno.
Then, save it to your filterscripts (I saved it as ls_equip.pwn) and hit F5 to compile it.
You will need ZCMD

Download
Filterscript Source: http://pastebin.com/ynVB2VJf
PWN + AMX File: http://www.rpdsamp.nl/get/gta/sa/mp/...side/lspde.zip
ZCMD: https://sampforum.blast.hk/showthread.php?tid=91354

* Mods not made by me! Only placed in custom.img and custom.ide !

What can I edit?
You can edit the defines. They are placed on the top. Line 23 - 43 and the define MAX_SLOTS. The MAX_SLOTS defines the max players of your server.
Line 23-28
This are the lines for the ammo you'll get per weapon category.
Line 30-31
You probably don't need to edit this. If you use eg. Raven's roleplay it's good. But this are the dialog ID's.
Line 43
This is the armour attached object slot. Change it if you use another object with slot 0

Help!
Did you have a warning/error? Here are three things I can imagine
1)
Code:
x : error 017: undefined symbol "RemovePlayerAttachedObject"
x : error 017: undefined symbol "SetPlayerAttachedObject"
Solution: Download the samp 0.3c package

2)
Code:
x : warning 203: symbol is never used: "lspdequip"
Solution: Add ZCMD into your includes (you'll probably won't get this error, it will be: See 3))

3)
Code:
x : fatal error 100: cannot read from file: "zcmd"
Solution: Download the ZCMD command processor.

Video
[ame]http://www.youtube.com/watch?v=CFl1Fp1_lfk[/ame]

Regards,
Kevin
Reply
#2

Good Job!
Reply
#3

Good job Kwarde!
Reply
#4

haha awesome!!
Reply
#5

lol
nice
Reply
#6

Nice work
Reply
#7

What I really noticed is your really awesome server logo in the bottom right corner. Tell me, how did you make that backwards "R" with textdraws lol.
Reply
#8

LOL AWESOME NICE MAN
Reply
#9

Quote:
Originally Posted by s1k
View Post
What I really noticed is your really awesome server logo in the bottom right corner. Tell me, how did you make that backwards "R" with textdraws lol.
Lol, it's raven's roleplay :P. (low-edit). It's a low-edit because the previous GM crashed -.-"
Go take a look in the raven's roleplay script; https://sampforum.blast.hk/showthread.php?tid=140427

And thanks everyone :P
Reply
#10

where to find samp 0.3c package
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)