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
http://forum.sa-mp.com/showpost.php?p=3760346&postcount=2874
native FCNPC_SetWeaponAccuracy(npcid, weaponid, Float:accuracy); native Float:FCNPC_GetWeaponAccuracy(npcid, weaponid); native FCNPC_SetWeaponInfo(npcid, weaponid, reload_time = -1, shoot_time = -1, clip_size = -1, Float:accuracy = 1.0); native FCNPC_GetWeaponInfo(npcid, weaponid, &reload_time = -1, &shoot_time = -1, &clip_size = -1, &Float:accuracy = 1.0); native FCNPC_SetWeaponDefaultInfo(weaponid, reload_time = -1, shoot_time = -1, clip_size = -1, Float:accuracy = 1.0); native FCNPC_GetWeaponDefaultInfo(weaponid, &reload_time = -1, &shoot_time = -1, &clip_size = -1, &Float:accuracy = 1.0); //Float:accuracy //Is a percentage value //Possible values range from 0.0 to 1.0 (will never hit to will always hit) //Defaults to 1.0 (will always hit) //Example: 0.8 (will hit 80% of the time)
The text was updated successfully, but these errors were encountered:
#23: Add weapon accuracy
0bced2d
- Fix for FCNPC_GetWeaponInfo
No branches or pull requests
http://forum.sa-mp.com/showpost.php?p=3760346&postcount=2874
The text was updated successfully, but these errors were encountered: