Raised This Month: $ Target: $400
 0% 

Need Help with Menu and get_user_ammo


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Silencer123
Veteran Member
Join Date: Jul 2006
Old 07-15-2006 , 17:41   Need Help with Menu and get_user_ammo
Reply With Quote #1

Question 1:
How do I make a second Menu Column?
Like this:
Code:
1.  Option 1          $100
2.  Option 2          $150
3.  Option 3          $300
Using this:
Code:
format(menuBody, 511, "Buy Ammo - Your Money: $%i^n^n 1.  Six 357 Rounds^n 2.  Twelve Shotgun Buckshots^n 3.  Five Sniper Rifle Bullets^n 4.  Five Crossbow Arrows^n 5.  20 Energy Cells^n 6.  Two RPG Rockets^n 7.  Two AR Grenades^n 8.  17 9mm Bullets^n 9.  100 Minigun Rounds^n^n 0.  Close",g_money[id])


Question 2:
How do I use get_user_ammo correctly? What to "#include"?
Code:
if(get_user_ammo(id, 3, 0, 36)
On compile it says that the 3rd argument is a mismatch
and how can I know what weapon has the ID "3"?
Is there a list?




Thanks in advance! I also will give Karma!
This are the last two problems on my way to the working plugin!
__________________
EAT YOUR VEGGIES
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:04.


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