View Single Post
sake
Senior Member
Join Date: Jul 2011
Old 08-08-2011 , 11:37   Re: Module: Orpheu2.3a
Reply With Quote #775

Got a question:

Is linux always +1 over windows value? Because here: https://forums.alliedmods.net/showth...ht=orpheu+ammo you wrote +2? What's correct now?

And:

What does invalid function[0] mean? I am trying to call giveAmmo like that: (EDIT: Gnarg, I am dumb... forgot a comma...)

PHP Code:
public plugin_precache()
{
    
g_giveAmmo OrpheuGetFunctionFromClass("player","giveAmmo","CBasePlayer");
}

//...
somewhere else:
OrpheuCall(g_giveAmmo,id,200,g_weapon_ammo_prim[g_primary[id-1]],200); 
EDIT: No Help needed anymore. Figured it out . I really love this module.
__________________

Last edited by sake; 08-08-2011 at 14:13.
sake is offline