Raised This Month: $ Target: $400
 0% 

graves plugin fix


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MDK7039
Member
Join Date: Aug 2007
Old 08-26-2007 , 21:11   graves plugin fix
Reply With Quote #1

hey guys and girls well i tried to fix it myself a original mod of freecode credits to him heres his post http://forums.alliedmods.net/showthr...ghlight=graves


i tried converting his sma to amxx and it worked even tho he made it for amx

but the plugin didnt work still so sumone please add lines to this or w/e and fix it to work for amxmodx please and if u could edit the cvar to make it so that

theirs only one command amx_gravesOn/Off <1/2>

and if u guys feel like it new models but most important one think i really want is it to work for amxmodx here are the files
Attached Files
File Type: sma Get Plugin or Get Source (grave.sma - 922 views - 3.9 KB)
__________________


If i Helped u karma is apreciated =]
MDK7039 is offline
Send a message via AIM to MDK7039
stylerro
Senior Member
Join Date: Mar 2007
Old 08-27-2007 , 02:58   Re: graves plugin fix
Reply With Quote #2

dont work..
stylerro is offline
MDK7039
Member
Join Date: Aug 2007
Old 08-27-2007 , 14:40   Re: graves plugin fix
Reply With Quote #3

thats why i asked someone to fix so please do =]
__________________


If i Helped u karma is apreciated =]
MDK7039 is offline
Send a message via AIM to MDK7039
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 08-27-2007 , 16:24   Re: graves plugin fix
Reply With Quote #4

1.Use fakemeta! :@
2.Don't set move_type !
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
MDK7039
Member
Join Date: Aug 2007
Old 08-27-2007 , 16:48   Re: graves plugin fix
Reply With Quote #5

???? set fake meta could u do it and attach the updated file?
__________________


If i Helped u karma is apreciated =]
MDK7039 is offline
Send a message via AIM to MDK7039
ABC3Q
Junior Member
Join Date: Mar 2007
Old 08-28-2007 , 02:11   Re: graves plugin fix
Reply With Quote #6

Quote:
Originally Posted by Alka View Post
1.Use fakemeta! :@
2.Don't set move_type !
Hes talking about this i suppose and this

Code:
 
  entity_set_int(graves[id], EV_INT_movetype, 4)
Code:
 
#include <amxmodx> 
#include <engine>
#include <amxmisc> 
#include <fakemeta>
MoveToOrigin?
__________________
| Account has been abandoned |

Last edited by ABC3Q; 08-28-2007 at 02:15.
ABC3Q is offline
MDK7039
Member
Join Date: Aug 2007
Old 08-29-2007 , 02:25   Re: graves plugin fix
Reply With Quote #7

edits by pizzza hut
Replaced this:
Code:

public plugin_init()
{
register_plugin("Graves","2.0","Freecode")
register_event("DeathMsg","make_gave","a")
register_event("ResetHUD","NewRound","bc")
register_clcmd("amx_grave","grave",ADMIN_BAN, "1/0")
register_clcmd("amx_graveyard","graveyardc",A DMIN_BAN,"1/0")
}

with:
Code:

public plugin_init()
{
register_plugin("Graves","2.1","Freecode,pizz ahut")
register_event("DeathMsg","make_gave","a")
register_event("ResetHUD","NewRound","bc")
register_concmd("amx_grave","grave",ADMIN_BAN ,"1/0")
register_concmd("amx_graveyard","graveyardc", ADMIN_BAN,"1/0")
}

The difference is that I'm using console commands instead of client commands, so they can be used by the server.

and


There was a problem in the original plugin with graves spawning to high and only falling to ground when new kills happen. I've made a fix which seems to work so far.

Replaced
Code:

entity_set_int(graves[id], EV_INT_solid, 2)
entity_set_int(graves[id], EV_INT_movetype, 4)

with
Code:

entity_set_int(graves[id], EV_INT_solid, SOLID_NOT)
entity_set_int(graves[id], EV_INT_movetype, MOVETYPE_TOSS)




all of theese added with your edits u guys and now the mod works flawlessly here is the updated mod enjoy!
Attached Files
File Type: sma Get Plugin or Get Source (grave.sma - 917 views - 3.9 KB)
__________________


If i Helped u karma is apreciated =]
MDK7039 is offline
Send a message via AIM to MDK7039
stylerro
Senior Member
Join Date: Mar 2007
Old 08-31-2007 , 04:29   Re: graves plugin fix
Reply With Quote #8

dont work (
stylerro is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:40.


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