Well , i start today with Orpheu , learning some things posted by Arkshine and Joaquim and its a powerfull module.
I really get interested with this . But my idea in mind is trying to change the MaxClip.
I try with OrpheuSetParamStructMember( 8 , "iMaxClip", 15 ) but i didnt get to work , its possible to done this?
I leave this , if someone needs to help me
ItemInfo Struct
Spoiler
Code:
typedef struct
{
int iSlot;
int iPosition;
const char *pszAmmo1; // ammo 1 type
int iMaxAmmo1; // max ammo 1const char *pszAmmo2; // ammo 2 type
int iMaxAmmo2; // max ammo 2const char *pszName;
int iMaxClip;
int iId;
int iFlags;
int iWeight;// this value used to determine this weapon's importance in autoselection.} ItemInfo;
Yes, to deal with maxclip, there are several ways, like hooksing some functon GiveAmmo, DefaultReload, etc..(Look at HLSDK). Another is to create a new ammo type. it's probably more simple. You can do it since there is some room ( 32 slots and only 12 or something near registered). I think I've done that in the weapon (rage module), don't remember.
Yes, to deal with maxclip, there are several ways, like hooksing some functon GiveAmmo, DefaultReload, etc..(Look at HLSDK). Another is to create a new ammo type. it's probably more simple. You can do it since there is some room ( 32 slots and only 12 or something near registered). I think I've done that in the weapon (rage module), don't remember.