AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   Drag Mode v1.0 (https://forums.alliedmods.net/showthread.php?t=268057)

zevenMod 08-04-2015 04:44

Drag Mode v1.0
 
1 Attachment(s)
DRAG MODE V1.0
By zeven~
Hello all! I've started scripting since yesterday and this is my first plugin.

DESCRIPTION:
This plugin allows the user drag other user, like the main ability of the Smoker Zombie (from Left 4 dead). This ability was always linked to the zombie plague mod, and I rewrote the code.

CVARS:
* sv_dragmode: Activate or desactivate the plugin (Take 0/1).
* drag_cooldown: The cooldown time for reuse the drag. (Default 3.0 seconds)
* drag_velocity: The velocity of the victim when is pulled to you. (Default 200.0)
* drag_friendly: 1 for grabbing teammates, 0 for don't. (Default 0)
* drag_max_duration: Max duration of the drag. (Default 3 seconds)


* To use the drag, please bind this way: bind v +drag

http://oi58.tinypic.com/fdhc0z.jpg

Maybe is simple, but is my first plugin, I'm still learning Pawn.
Enjoy and sorry for my English. :twisted:

yash1441 08-08-2015 10:44

Re: Drag Mode v1.0
 
Isn't this like +grab plugin?

redivcram 08-15-2015 08:54

Re: Drag Mode v1.0
 
Quote:

Originally Posted by yash1441 (Post 2330776)
Isn't this like +grab plugin?

Can you not read, It's DRAG not GRAB... GRAB is grabbing a player and moving him around, DRAG drags the player towards you...

Keys PK 08-22-2015 14:33

Re: Drag Mode v1.0
 
Not so useful but.. gj

happy_2012 08-22-2015 16:04

Re: Drag Mode v1.0
 
At least use English variables, and your code is so poor :|


All times are GMT -4. The time now is 05:21.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.