2 posts,
2 people · 1,054 views
Thread Rating: ★★★★★
| closedOh No Zor! |
| Started by Wilson [29th ID] on 09-01-2006, 04:23 PM |
started this thread
Posts: 623Threads: 57
Joined: Oct 2005
09-01-2006, 04:23 PM
#1
dod_set_user_ammo(id, weapon, ammo)rnrnI just realised that this allows weapons to reload "CS style" - if you shoot off four bullets in a magazine and reload, you don't lose the rest of that magazine - it gets "stored."rnrnPerhaps it's just me? Or are others experiencing this too? How can I get around this?rnrnHere's my code.rn
public set_ammo(id,weapon,channel,ammo) {rn dod_set_user_ammo(id, weapon, ammo)rn // Update user's HUDrn message_begin(MSG_ONE,get_user_msgid("AmmoX"),{0,0,0},id);rn write_byte(channel);rn write_byte(ammo);rn message_end();rn rn return PLUGIN_CONTINUErn}posted here
Posts: 688Threads: 75
Joined: Jun 2006
09-01-2006, 04:27 PM
#2
Dont know, not sure if I used that one before!nnCheers!

