AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Full load out detection (https://forums.alliedmods.net/showthread.php?t=48316)

dahk 12-09-2006 19:43

Full load out detection
 
Anyone know how I can make a script to detect everything a client has on them? As in.. primary weapon, secondary weapon, ammo amounts for both weapons, h.e. grenade, flashbang, amount of flashbangs, and smoke grenade.

I know there is a get_user_weapon function, but it only detects a weapon when it is equiped and therefore doesn't allow me to specify that I want it to grab the primary weapon and its ammo, the secondary weapon and its ammo, and the quaternary (nades, flashbangs, and smoke nades) load out and amounts of each.

Thanks to anyone who is able to help or atleast respond and tell me that this isn't possible with the stock functions.

The Specialist 12-09-2006 19:47

Re: Full load out detection
 
heres a lsit

http://amxmodx.org/doc/source/functions/index.htm

read through the functions , there apramters and what modules youll need are all there :up:


All times are GMT -4. The time now is 06:47.

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