dod_set_user_ammo current clip
I was trying to use this function dod_set_user_ammo. Does affects only stock clip ammo really or do I have to something special.
What I tried to do was: dod_set_user_ammo(id, DODW_xxx, 0) but this left the current clip with all its remaining bullets. Is there a way so I can take out all the bullets, including this current clip? |
Re: dod_set_user_ammo current clip
Was pulled from http://forums.alliedmods.net/showthread.php?t=44403 plugin. Since this is a offset patch. Then this will be OS specific. I'm not too sure which OS this offset was found on but it was probably windows. IIRC I don't think Wilson [29th ID] had access to a linux server to verify the offset for linux server.
Code:
Ps. http://www.dodplugins.net are all the DoD specific forums for DoD plugins etc. |
Re: dod_set_user_ammo current clip
Thanks for the response.
From what I see on the documentation, there is a fourth parameter to set_pdata_int which deals about the offset. I think it'll work on Linux allright. |
Re: dod_set_user_ammo current clip
The fourth parameter of set_pdata_int deals with the linux offset but it deals with the difference. So you need to try to use a find offset plugin or something to verify the offset on linux. Then you can use the difference in the 4 parameter of set_pdata_int
|
| All times are GMT -4. The time now is 22:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.