View Full Version : dod_playerpush
Kiel |17.SS|
10-11-2006, 05:45 AM
I was asking Cpt. Wilson about this and he said it was on here before. Does anyone have it? If so, could you repost it, please?
Thanks,
Kiel
p.s. Is there also a grab one (without the colors)?
Church
10-11-2006, 11:16 PM
I do have this plugins posted by zor. I will post it if I get permission from one of the admins.
Wilson [29th ID]
10-12-2006, 01:51 AM
attached is the dod playerpush plugin.
MBosta
10-12-2006, 05:08 PM
what does this plugin do exactly?
=|[76AD]|= TatsuSaisei
10-12-2006, 05:54 PM
what does this plugin do exactly?
The plugin will "push" a player....
Normally, when a user walks into another player, thereby trying to push a player, normally this would do nothing as the other player would act like a wall.
Now with this plugin, when you try pushing into a player AND hit the USE key (e by default) you will "push" or shove a player in the direction you are currently looking.
The amount of "push" is determined by a value assigned inside the source code of the plugin.
Think of it as "shoving" a player.... ever get those asshats who block a spawn door and don't move, keeping players trapped in a room... players, or admins (depends on how you set permission to shove in source) can simply push players out of the way....
Kiel |17.SS|
10-13-2006, 04:54 AM
Thanks Cpt. Wilson.
Church
10-19-2006, 01:13 AM
Can someone make this plugin so admin with immunity can push. I have tried change access levels but it does seem to work.
Box Cutter
10-19-2006, 02:23 AM
Can someone make this plugin so admin with immunity can push. I have tried change access levels but it does seem to work.
Here are the CVAR's for amxx.cfg
amx_playerpush 1 - Turn the plugin on or off
amx_playerpush_obeyimmunity 1 - Obey Immunities
amx_playerpush_onlyadmins 0 - Only admins are allowed to push
amx_playerpushlevel 15 - Power of the push
Box Cutter
10-19-2006, 02:28 AM
Other than slamming them into a wall and killing them, does this plugin hurt the person you are pushing if you are just sliding them on the ground and not into any objects? I was pushing one of my clan members around and she said her health went down.
=|[76AD]|= TatsuSaisei
10-19-2006, 06:40 AM
Other than slamming them into a wall and killing them, does this plugin hurt the person you are pushing if you are just sliding them on the ground and not into any objects? I was pushing one of my clan members around and she said her health went down.
yes, by default I believe it takes off 5 health each time a player is pushed (I removed in the version I use)
Church
10-20-2006, 12:18 AM
Immunity does not work. I still have other admins with reserver access being able to push admins with Immunity.
diamond-optic
10-20-2006, 11:23 PM
Immunity does not work. I still have other admins with reserver access being able to push admins with Immunity.
in the code theres:
stock is_admin(id)
{
return (get_user_flags(id) & ADMIN_LEVEL_H)
}
so thats saying anyone with level H (t flag) is treated as an admin...do these other admins of yours have that flag?
johnnyskid
10-31-2006, 04:41 PM
This looks like it would be a funny plugin. It say this whe I try to complie it thoe:
home/groups/amxmodx/tmp3/phpmxrVbd.sma(197) : warning 217: loose indentation
/home/groups/amxmodx/tmp3/phpmxrVbd.sma(198) : error 017: undefined symbol "id"
/home/groups/amxmodx/tmp3/phpmxrVbd.sma(198) : warning 215: expression has no effect
/home/groups/amxmodx/tmp3/phpmxrVbd.sma(198) : warning 215: expression has no effect
/home/groups/amxmodx/tmp3/phpmxrVbd.sma(198) : warning 215: expression has no effect
/home/groups/amxmodx/tmp3/phpmxrVbd.sma(198) : warning 215: expression has no effect
/home/groups/amxmodx/tmp3/phpmxrVbd.sma(198) : warning 215: expression has no effect
/home/groups/amxmodx/tmp3/phpmxrVbd.sma(198) : warning 215: expression has no effect
/home/groups/amxmodx/tmp3/phpmxrVbd.sma(198) : error 001: expected token: ";", but found ")"
/home/groups/amxmodx/tmp3/phpmxrVbd.sma(198) : error 029: invalid expression, assumed zero
/home/groups/amxmodx/tmp3/phpmxrVbd.sma(198) : fatal error 107: too many error messages on one line
So it wont compile :{
diamond-optic
10-31-2006, 08:22 PM
here.. fixed
TigerMan4
12-21-2006, 09:17 PM
Your plugin failed to compile! Read the errors below:
Welcome to the AMX Mod X 1.76-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team
/home/groups/amxmodx/tmp3/phpc2QuW9.sma(197) : warning 217: loose indentation
/home/groups/amxmodx/tmp3/phpc2QuW9.sma(198) : error 017: undefined symbol "id"
/home/groups/amxmodx/tmp3/phpc2QuW9.sma(198) : warning 215: expression has no effect
/home/groups/amxmodx/tmp3/phpc2QuW9.sma(198) : warning 215: expression has no effect
/home/groups/amxmodx/tmp3/phpc2QuW9.sma(198) : warning 215: expression has no effect
/home/groups/amxmodx/tmp3/phpc2QuW9.sma(198) : warning 215: expression has no effect
/home/groups/amxmodx/tmp3/phpc2QuW9.sma(198) : warning 215: expression has no effect
/home/groups/amxmodx/tmp3/phpc2QuW9.sma(198) : warning 215: expression has no effect
/home/groups/amxmodx/tmp3/phpc2QuW9.sma(198) : error 001: expected token: ";", but found ")"
/home/groups/amxmodx/tmp3/phpc2QuW9.sma(198) : error 029: invalid expression, assumed zero
/home/groups/amxmodx/tmp3/phpc2QuW9.sma(198) : fatal error 107: too many error messages on one line
Compilation aborted.
4 Errors.
=|[76AD]|= TatsuSaisei
12-21-2006, 10:17 PM
Your plugin failed to compile! Read the errors below:
Welcome to the AMX Mod X 1.76-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team
/home/groups/amxmodx/tmp3/phpc2QuW9.sma(197) : warning 217: loose indentation
/home/groups/amxmodx/tmp3/phpc2QuW9.sma(198) : error 017: undefined symbol "id"
/home/groups/amxmodx/tmp3/phpc2QuW9.sma(198) : warning 215: expression has no effect
/home/groups/amxmodx/tmp3/phpc2QuW9.sma(198) : warning 215: expression has no effect
/home/groups/amxmodx/tmp3/phpc2QuW9.sma(198) : warning 215: expression has no effect
/home/groups/amxmodx/tmp3/phpc2QuW9.sma(198) : warning 215: expression has no effect
/home/groups/amxmodx/tmp3/phpc2QuW9.sma(198) : warning 215: expression has no effect
/home/groups/amxmodx/tmp3/phpc2QuW9.sma(198) : warning 215: expression has no effect
/home/groups/amxmodx/tmp3/phpc2QuW9.sma(198) : error 001: expected token: ";", but found ")"
/home/groups/amxmodx/tmp3/phpc2QuW9.sma(198) : error 029: invalid expression, assumed zero
/home/groups/amxmodx/tmp3/phpc2QuW9.sma(198) : fatal error 107: too many error messages on one line
Compilation aborted.
4 Errors.
what are you people doing wrong with compiling these plugins ?? It compiles fine for me, used the web compiler even, and that generally chokes on dust... I can not post attachments to my replies so I can not provide the .amxx file the compiler made for me...
{SR} *Raggy*
12-21-2006, 10:25 PM
Compiled fine for me on both this websites compiler and at www.amxmodx.org with there compiler...
Box Cutter
12-21-2006, 11:39 PM
I always use the web compiler here at dodplugins.net/compiler and I have never once had a problem.
Thats cause Im a programming god! Heheheh...jk!@
Box Cutter
12-22-2006, 02:27 AM
Thats cause Im a programming god! Heheheh...jk!@
We're Not Worthy!! We're Not Worthy!!
http://img48.imageshack.us/img48/2347/img42dm6.gif
HHEHEHEHEHEH>>>>ROFL!!!!!
Cheers!
TigerMan4
12-24-2006, 02:19 AM
well....it didnt compile for poo for me. I tried the compiler here and I allways get an error.
it says "error moving plugin" unable to compile or somthing silly like that , so I try to compile it on the amxmodx site and it does what I posted.
**** exact error when I use the compiler on this site ****
Error on Moving the File Please Try Again
=|[76AD]|= TatsuSaisei
12-24-2006, 01:11 PM
well....it didnt compile for poo for me. I tried the compiler here and I allways get an error.
it says "error moving plugin" unable to compile or somthing silly like that , so I try to compile it on the amxmodx site and it does what I posted.
**** exact error when I use the compiler on this site ****
Error on Moving the File Please Try Again
when you compile online... click on the link to the .sma file but select OPEN... it should open in a text editor... if not you will have to download an .sma file and open it on PC and right click the file and select "open with" and assign a text editor to the .sma extension... anyways, get the .sma open from the link and grab ALL the contents of the file (CTRL+A) and then copy it all to clipboard (CTRL+C) and THEN go to web compiler and select the paste method, paste the code in (CTRL+V) and then compile... serves 2 purposes.... easier compiles and getting a chance to glance at the code and any possible comments and cvar usage
TigerMan4
12-25-2006, 03:12 AM
I got the compiler on the amxmodx site to work , but not the one on this site.
I also am using this plugin on my server...LOL
OH DEAR GOD ! I have never laughed so hard in a long time.
I set the push strength to 35 and well...I pushed a guy off the red room in AVA and he landed on the Axis arch..LMAO !
and...not sure if anyone has had this happen...but I was killing people by pushing them LOL
also , obey imunity doesnt work.
{SR} *Raggy*
12-25-2006, 09:39 AM
Yeah this plugin is good fun for killing lol I love this one
TigerMan4
12-25-2006, 02:37 PM
i was killing people by pushing them on flat ground , for some reason , you run up and "E" them and they die , almost like Ninja , you get that , skull and cross bones thing , like they commited suicide. LOL
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.