AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Getting amount of left grenades ... (https://forums.alliedmods.net/showthread.php?t=51261)

Ephraim 02-14-2007 14:18

Getting amount of left grenades ...
 
Hey,

I've a dod plugin which doesn't get the right amount of left grenads, although it uses the way the docu says.

Code:

new axis_nades = dod_get_user_ammo(id,DODW_STICKGRENADE)
new allies_nades = dod_get_user_ammo(id,DODW_HANDGRENADE)

I always get zero for both :(
The id is definitly correct, cause it outputs the correct playername in the logs.

Is this not the right way to retrieve the amount?

Ciao Ephraim


All times are GMT -4. The time now is 00:39.

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