Weapon Skills desync?
#1

Yes, I know how to set weapon skills.

No, I have never had this occur before.

I set a player's weapon skills to 1 (for all weapons), yet they could dual wield weapons still (this appears client-side). If someone looks at them while holding a dual-wielded weapon, that player's weapon appears to be single-handed.

The issue I'm having is that these weapons should not be different for server-side/client-side, but they are. I did a search in these forums, and 1 other person had the same results, only they had the issue in 2010.
Reply
#2

Bump
Reply
#3

Bump
Reply
#4

Use

PHP код:
SetPlayerSkillLevel(playeridWEAPONSKILL_(Weapon_name) , 999); 
It will give that player Max skill on the weapon skill and also It won't appear any bug ( maybe)
Also try with right format and right function

And also maybe this problem with scripting, that's why it happening.
Reply
#5

pawn Код:
//Setting weapon skills
    SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 1);
    SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL_SILENCED, 1);
    SetPlayerSkillLevel(playerid, WEAPONSKILL_DESERT_EAGLE, 1);
    SetPlayerSkillLevel(playerid, WEAPONSKILL_SHOTGUN, 1);
    SetPlayerSkillLevel(playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 1);
    SetPlayerSkillLevel(playerid, WEAPONSKILL_SPAS12_SHOTGUN, 1);
    SetPlayerSkillLevel(playerid, WEAPONSKILL_MICRO_UZI, 1);
    SetPlayerSkillLevel(playerid, WEAPONSKILL_MP5, 1);
    SetPlayerSkillLevel(playerid, WEAPONSKILL_AK47, 1);
    SetPlayerSkillLevel(playerid, WEAPONSKILL_M4, 1);
    SetPlayerSkillLevel(playerid, WEAPONSKILL_SNIPERRIFLE, 1);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)