AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Setting Entity Value (NO PROBLEM) (https://forums.alliedmods.net/showthread.php?t=41309)

mysticssjgoku4 07-12-2006 19:56

Setting Entity Value (NO PROBLEM)
 
Hmm....I've been studying the func wiki for a while now and can't seem to find a combination of things to work for setting the amount of ammo an weapon receives when spawned.

DispatchKeyValue?
or
entity_set_int?

if so, what combination of key(s) would I use?

Thank again.

-----------------------------

Update, my mistake, took a look at the fgd, there are no options for amounts. No problem here.

KCE 07-12-2006 20:58

Re: Setting Entity Value
 
Are you looking for these?

cs_get_weapon_ammo
cs_set_weapon_ammo


cs_get_user_bpammo
cs_set_user_bpammo

Lord_Destros 07-12-2006 21:06

Re: Setting Entity Value
 
I'm pretty sure he's talking about TS.

They use to have ts_getuserwpn in amxx 1.01, but that command was removed, now Remo needs another.....

mysticssjgoku4 07-12-2006 21:09

Re: Setting Entity Value
 
It's for valve. HLDM. Sorry.
Any other ideas?
---------------------------
FIXED.


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

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