Raised This Month: $ Target: $400
 0% 

Store custom command and value for each client which is callable and changeable


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Silencer123
Veteran Member
Join Date: Jul 2006
Old 07-15-2006 , 05:07   Re: Store custom command and value for each client which is callable and changeable
Reply With Quote #10

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!
__________________
EAT YOUR VEGGIES

Last edited by Silencer123; 07-15-2006 at 17:23.
Silencer123 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:03.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode