We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Line: https://github.com/s1lentq/reapi/blob/master/reapi/src/reapi_utils.h#L137
I notice this, because this gives me an error with the WEAPON_KNIFE
for (new WeaponIdType: iWeaponID = WEAPON_P228, szName[32]; iWeaponID <= WEAPON_P90; iWeaponID++) { /* Ignore invalid weapons */ if (iWeaponID == WEAPON_GLOCK || iWeaponID == WEAPON_C4) continue; /* Get the weapon name */ rg_get_weapon_info(iWeaponID, WI_NAME, szName, charsmax(szName)); /* Hook the weapon deploy */ RegisterHam(Ham_Item_Deploy, szName, "fw_Item_Deploy_Post", true); }
The text was updated successfully, but these errors were encountered:
https://github.com/s1lentq/reapi/blob/master/reapi/src/natives/natives_misc.cpp#L664 adding:
& weaponID != WEAPON_KNIFE
should be fine, right?
We can get the knife info, but can't modify it.
Sorry, something went wrong.
Allow get knife info with rg_get_weapon_info (#38)
6508375
Issue: #29
No branches or pull requests
Line: https://github.com/s1lentq/reapi/blob/master/reapi/src/reapi_utils.h#L137
I notice this, because this gives me an error with the WEAPON_KNIFE
The text was updated successfully, but these errors were encountered: