[BUG] Dualing Sawn-Offs / Weapon Skill
#1

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.
Reply
#2

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
Reply
#3

Its already done?
Reply
#4

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.
Reply
#5

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.
Reply
#6

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)