AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   to give ammo/ammo types (https://forums.alliedmods.net/showthread.php?t=27928)

allenwr 05-02-2006 21:09

to give ammo/ammo types
 
when spawning a gun, where or how can i get the info for giving ammo to a gun

like for a scout, you use ammo_762nato...
what are the other things to give ammo to guns?

organizedKaoS 05-02-2006 21:51

cs_set_user_bpammo

allenwr 05-02-2006 22:00

Code:
cs_set_user_bammo(1,CSW_MAC10,30)

or

Code:
cs_set_user_bammo(1,"1=7",30)

which one is correct? or both wrong?

allenwr 05-02-2006 22:03

um, nvm,
Code:
cs_set_user_bammo(1, CSW_MAC10, 30)
right?[/small]

organizedKaoS 05-02-2006 22:57

Code:
cs_set_user_bpammo(id, CSW_M4A1, 90)
For example.

allenwr 05-03-2006 00:33

cs_set_user_bpammo does not work on compiler???

v3x 05-03-2006 00:39

You need cstrike, retard:

Quote:

(23:34:43) 290710497: /home/users/amxmodx/tmp3/php7psxjM.sma(69) : error 017: undefined symbol "cs_set_user_bpammo" /home/users/amxmodx/tmp3/php7psxjM.sma(75) : error 017: undefined symbol "cs_set_user_bpammo" /home/users/amxmodx/tmp3/php7psxjM.sma(75) : error 029: invalid expression, assumed zero /home/users/amxmodx/tmp3/php7psxjM.sma(81) : error 017: undefined symbol "cs_set_user_bpammo"

(23:34:54) v3x: #include <cstrike>

allenwr 05-03-2006 00:51

lol, i made this post before i signed on to "aim" my bad, if it makes you feel better, i gave you +karma

Spanky McNutnut 05-03-2006 00:53

Quote:

Originally Posted by v3x
You need cstrike, retard

LOL

allenwr 05-03-2006 00:55

hey, i waited 10 mins before i resided back to v3x, i think i bother the poor guy too much


All times are GMT -4. The time now is 05:02.

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