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!
__________________
If i Helped u karma is apreciated =]
|