[BUG] Dualing Sawn-Offs / Weapon Skill -
Kyle - 26.12.2010
Basically, I set someones weapon skill to 1 for sawn offs.
They see that they have 2 sawn off, But I see them with 1 sawn.
Its like a desync, I hear them double shooting but looks like its only 1 gun.
I dont know about any other dualing weapons.
Re: [BUG] Dualing Sawn-Offs / Weapon Skill -
[NWA]Hannes - 26.12.2010
SetPlayerSkillLevel(playerid, skill, level);
playerid The ID of the player to set the weapon skill of.
skill The weapon type you want to set the skill of.
level The skill level to set for that weapon, ranging from 0 to 999.
Aviable weapon skills:
0 - WEAPONSKILL_PISTOL
1 - WEAPONSKILL_PISTOL_SILENCED
2 - WEAPONSKILL_DESERT_EAGLE
3 - WEAPONSKILL_SHOTGUN
4 - WEAPONSKILL_SAWNOFF_SHOTGUN
5 - WEAPONSKILL_SPAS12_SHOTGUN
6 - WEAPONSKILL_MICRO_UZI
7 - WEAPONSKILL_MP5
8 - WEAPONSKILL_AK47
9 - WEAPONSKILL_M4
10 - WEAPONSKILL_SNIPERRIFLE
Re: [BUG] Dualing Sawn-Offs / Weapon Skill -
Kyle - 26.12.2010
Its already done?
Re: [BUG] Dualing Sawn-Offs / Weapon Skill -
jameskmonger - 26.12.2010
Hannes, can you read? He's saying that he's set it so that they can't wield duals, but some people see them with duals and some see them without.
Re: [BUG] Dualing Sawn-Offs / Weapon Skill -
[Fx]GhOsT - 26.12.2010
When set the skill, you should save the skill in a PVar, and reapply the SetPlayerSkillLevel (OnPlayerStreamIn callback), using the pvar info.
IF this is a bug, maybe this is a temporary workaround.
Re: [BUG] Dualing Sawn-Offs / Weapon Skill -
playbox12 - 26.12.2010
Quote:
Originally Posted by jameskmonger
Hannes, can you read? He's saying that he's set it so that they can't wield duals, but some people see them with duals and some see them without.
|
Can you read? He says that the player that he set the skill level off, sees a dual sawn off. But he sees only one, but he hears the sound of a dual, but he sees only one sawnoff.
That is kinda weird, could you show the code that sets the skill, and show your OnPlayerUpdate just incase.