Raised This Month: $51 Target: $400
 12% 

ammo


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
(_msv)dakilla(_msv)
Member
Join Date: Nov 2004
Location: Illions
Old 11-26-2004 , 13:17   ammo
Reply With Quote #1

ok im trying to give my hero ammo for every wepon can you tell me how i would do that and i dont wnt it to work like punisher just want full ammo for every wepon
(_msv)dakilla(_msv) is offline
Send a message via AIM to (_msv)dakilla(_msv) Send a message via MSN to (_msv)dakilla(_msv)
Kebmaster
Senior Member
Join Date: Oct 2004
Location: Norway
Old 11-26-2004 , 14:09  
Reply With Quote #2

ummm,, use the cvars from punisher

and the CSW
__________________

===--->ViZiT<---===
Www.Kebmaster.Moo.No
Kebmaster is offline
Send a message via AIM to Kebmaster Send a message via MSN to Kebmaster Send a message via Yahoo to Kebmaster
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 11-26-2004 , 19:50  
Reply With Quote #3

kebmaster you have no idea wtf you are talking about.... so dont reply.

give them the ammo using give_item
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
Prowler
Senior Member
Join Date: Nov 2004
Old 11-28-2004 , 07:24  
Reply With Quote #4

Hero is some code taken out of my modified Bill gates, Differs from the normal one in that it has the galil and famas ammo also

Code:
   new weapons[32],num    get_user_weapons(id,weapons,num)    for (new i=0; i<num; i++)       switch (weapons[i])       {          case CSW_M3:      give_item(id,"ammo_buckshot")          case CSW_XM1014:   give_item(id,"ammo_buckshot")          case CSW_MP5NAVY:   give_item(id,"ammo_9mm")          case CSW_TMP:      give_item(id,"ammo_9mm")          case CSW_P90:      give_item(id,"ammo_57mm")          case CSW_MAC10:      give_item(id,"ammo_45acp")          case CSW_UMP45:      give_item(id,"ammo_45acp")          case CSW_AK47:      give_item(id,"ammo_762nato")          case CSW_SG552:      give_item(id,"ammo_556nato")          case CSW_M4A1:      give_item(id,"ammo_556nato")          case CSW_AUG:      give_item(id,"ammo_556nato")          case CSW_SCOUT:      give_item(id,"ammo_762nato")          case CSW_AWP:      give_item(id,"ammo_338magnum")          case CSW_M249:      give_item(id,"ammo_556natobox")          case CSW_GALI:        give_item(id,"ammo_556nato")          case CSW_FAMAS:        give_item(id,"ammo_556nato")          case CSW_G3SG1:      give_item(id,"ammo_762nato")          case CSW_SG550:      give_item(id,"ammo_556nato")       }

If you don't know how switches work, or there is some other code you dont understand, the only thing you really need is the give_item(id,"ammo_#####") code.
Prowler is offline
Reply



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 06:09.


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