Scooby Posted November 21, 2013 Share Posted November 21, 2013 dm gamemode: i have a problem with players aiming with rifles, when they aim the crosshair comes up but the players weapon stays down by his hip, and u cant strafe sideways while shooting. i used to get this when i restarted my map with people in the server, but after some changes, i cant get it to stop now. just curious if anyone knew why this happens or any way to fix it. i will try to find the problem but if anyone knows, it could save me some time. Thanks in advance. Link to comment
ZL|LuCaS Posted November 21, 2013 Share Posted November 21, 2013 dm gamemode:i have a problem with players aiming with rifles, when they aim the crosshair comes up but the players weapon stays down by his hip, and u cant strafe sideways while shooting. i used to get this when i restarted my map with people in the server, but after some changes, i cant get it to stop now. just curious if anyone knew why this happens or any way to fix it. i will try to find the problem but if anyone knows, it could save me some time. Thanks in advance. sorry, I could not understand can show me pictures? Link to comment
Scooby Posted November 21, 2013 Author Share Posted November 21, 2013 i dont think a picture would help, basically when u aim, the gun doesnt move up to his shoulder, it stays on his hip. Link to comment
Scooby Posted November 21, 2013 Author Share Posted November 21, 2013 no i dont think its anything like that, ive never used it before anyway. Link to comment
xXMADEXx Posted November 21, 2013 Share Posted November 21, 2013 Well, sounds like the players weapon stat's arn't set. When they are set to the max, then player can have the gun at solder fire rather than just hip fire. You could try something like: setPedStat ( thePlayer, 78, 999 ) Link to comment
denny199 Posted November 21, 2013 Share Posted November 21, 2013 If you want to walk while aiming the gun, and faster swiming, then set the FPS limit to 50~60, or else they can't move. The gun-problem is related to the weapon stats (setPedStat). Here are some stats: Weapon skills: Note: see the "Other" for the values that advance weapon skills. 69: WEAPONTYPE_PISTOL_SKILL 70: WEAPONTYPE_PISTOL_SILENCED_SKILL 71: WEAPONTYPE_DESERT_EAGLE_SKILL 72: WEAPONTYPE_SHOTGUN_SKILL 73: WEAPONTYPE_SAWNOFF_SHOTGUN_SKILL 74: WEAPONTYPE_SPAS12_SHOTGUN_SKILL 75: WEAPONTYPE_MICRO_UZI_SKILL 76: WEAPONTYPE_MP5_SKILL 77: WEAPONTYPE_AK47_SKILL 78: WEAPONTYPE_M4_SKILL 79: WEAPONTYPE_SNIPERRIFLE_SKILL 80: SEX_APPEAL_CLOTHES 81: GAMBLING Other: -- https://wiki.multitheftauto.com/wiki/We ... ill_levels -- Link to comment
Scooby Posted November 21, 2013 Author Share Posted November 21, 2013 ok guys thanks, i'll try it out and post back once ive tried it. its strange because my gamemode was working just fine without setting any of those before. he always had the gun in the right place unless i restarted the gamemode with people in the server. Edit: wow, seems to have worked, nice one guys. i wonder why i didnt need this for all the years ive had the server running Link to comment
denny199 Posted November 21, 2013 Share Posted November 21, 2013 Uhm, I think because the gamemode has been updated in the new mta versions??? OR It's the defaultstats resource? BTW, whats your servername? Link to comment
Scooby Posted November 21, 2013 Author Share Posted November 21, 2013 silly me.. yes it looks like it could be defaultstats resource, i didnt run it this time.. so that could be why. my bad the server is [uVA]RPG/DM Server, or should i say it was... my host lost all my files, i have backups but im making some changes before i start it again. Link to comment
denny199 Posted November 21, 2013 Share Posted November 21, 2013 Awesome, if it's up then i'll take a look Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now