[FilterScript] Tazer/Cuff/Drag system good for RP
#1

Police GM Addon
By JhnzRep

Hello everyone, I have created this little script just for fun. It's not really even a FS, more like a addon to just add to your script.

Functions:

Код:
/tazer - Bring out a SD pistol tazer. When you shoot a player with it, they cannot move for 5 seconds and can be cuffed.
/cuff - You can cuff a player for 10 minutes. After the 10 minutes the cuffs will break.
/drag - You will drag the player, meaning when you move he will be following you.
Credits:
It uses Wups' OnPlayerShootPlayer include.
Gangsta_'s SDpistol tutorial.
JhnzRep - creating this script.
****** - sscanf.
Zeexs - ZCMD

How to install:
You will need to download sscanf(https://sampforum.blast.hk/showthread.php?tid=120356).
ZCMD(https://sampforum.blast.hk/showthread.php?tid=91354).
OnPlayerShootPlayer(https://sampforum.blast.hk/showthread.php?tid=195439&page=38).

After you get all these, you will need to do this right under #include <a_samp>(set the includes):
pawn Код:
#include <sscanf2>
#include <zcmd>
#include <OPSP>
Then the defines:

pawn Код:
#define SCM SendClientMessage
#define GREY 0xAFAFAFAA
#define PURPLE 0xC2A2DAAA
You will also need to add this under #endif
pawn Код:
new BigEar[MAX_PLAYERS],tazetimer[MAX_PLAYERS], pCuffed[MAX_PLAYERS], cufftimer[MAX_PLAYERS], Dragging[MAX_PLAYERS], Dragged[MAX_PLAYERS], draggedtimer[MAX_PLAYERS], pTazed[MAX_PLAYERS], Tazer[MAX_PLAYERS];
Pastebin for everything else:
http://pastebin.com/WffpbiYA

Find Bugs or have Questions?
Post here or PM me.
Thanks.
Reply


Messages In This Thread
Tazer/Cuff/Drag system good for RP - by JhnzRep - 23.02.2012, 00:20
Re: Tazer/Cuff/Drag system good for RP - by Kwarde - 23.02.2012, 05:18
Re: Tazer/Cuff/Drag system good for RP - by ReneG - 23.02.2012, 06:00
Re: Tazer/Cuff/Drag system good for RP - by wups - 23.02.2012, 17:47
Re: Tazer/Cuff/Drag system good for RP - by JhnzRep - 24.02.2012, 03:03
Re: Tazer/Cuff/Drag system good for RP - by t0rakftw - 02.12.2012, 11:04
Re: Tazer/Cuff/Drag system good for RP - by Plovix - 02.12.2012, 12:43
Re: Tazer/Cuff/Drag system good for RP - by dino_d_carter - 02.12.2012, 14:15
Re: Tazer/Cuff/Drag system good for RP - by Spaseto - 29.03.2013, 22:45

Forum Jump:


Users browsing this thread: 1 Guest(s)