Posts: 2,262
Threads: 260
Joined: Mar 2009
Reputation:
0
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.
Posts: 341
Threads: 59
Joined: Jul 2010
Reputation:
0
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
Posts: 1,113
Threads: 110
Joined: Nov 2009
Reputation:
0
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.
Posts: 34
Threads: 2
Joined: Nov 2010
Reputation:
0
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.