Mh... I remain here:
if(get_user_ammo(id, get_weaponid(weapon_357), 0, 36)
error 017: undefined symbol "weapon_357"
If the id of a weapon is always the same in one game, i may just take the time
and find out the id for every weapon?!
edit: it says argument 3 (the 0) is a mismatch.
And I still need to know how to make a second column in the menu for prices!
:>
Aaah! ingame error:
] amx_sc_buyammo
L 07/15/2006 - 11:44:00: String formatted incorrectly - parameter 4 (total 3)
L 07/15/2006 - 11:44:00: [AMXX] Run time error 25 (plugin "scbuyammo.amxx") - debug not enabled!
L 07/15/2006 - 11:44:00: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes)
EDIT: fixed. the %i did not work in the way how i used it.
Please tell me how!

edit: found out and it works fine
and I also need the menu to stay open after selecting an item.
may i add SCitemMenu(id) at the end of every case?
edit: it works
I would also apreciate a console message
"[SC BUY AMMO] Target could not be found!"
if amx_sc_buyammo_money_set targets non existing target
and
"[SC BUY AMMO] You set %i's Money to %i!"
on admins chat who executed command and
"[SC BUY AMMO] An Admin set your Money to %i!"
on clients chat who got the %i money.
edit: found it out
So far!
Now I really just need to know about that menu column and the get_user_ammo crap!
__________________