1 post · 16,594 views
Thread Rating: ★★★★★
| closedNew dodx.inc fix (05-13-14) |
| Started by diamond-optic on 05-13-2014, 10:16 AM |
started this thread
Posts: 2,068Threads: 103
Joined: May 2005
05-13-2014, 10:16 AM
#1
Not completely necessary I suppose unless you specifically need it, but I reported a return mistake in 3 dodx forwards that are now fixed.nnYou will need git3839 or newer for the fix (get it here: http://www.amxmodx.org/snapshots.php). The dodx.inc file is in the base package not the dod package just to let you know. And I guess you could also either just grab the new include file or manually make the change to your current file if you dont want to update to a new git build....nnheres the commit for the change: https://github.com/alliedmodders/amxmodx/commit/c5c2721e6083be5da14b9e7f5254a06e3ca0f022nndodx.inc on the github: https://github.com/alliedmodders/amxmodx/blob/master/plugins/include/dodx.incnnThe mistake:nn
/* Forward for when a grenade explodes and its location */nforward dod_grenade_explosion(id, pos[3], wpnid);nn/* Forward for when a rocket explodes and its location */nforward dod_rocket_explosion(id, pos[3], wpnid);nn/* Forward for when a player picks up a object */nforward dod_client_objectpickup(id, objid, pos[3], value);The fix:nn/* Forward for when a grenade explodes and its location */nforward dod_grenade_explosion(id, Float:pos[3], wpnid);nn/* Forward for when a rocket explodes and its location */nforward dod_rocket_explosion(id, Float:pos[3], wpnid);nn/* Forward for when a player picks up a object */nforward dod_client_objectpickup(id, objid, Float:pos[3], value);
