Weapon skill bug - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Weapon skill bug (
/showthread.php?tid=480871)
Weapon skill bug -
Compton - 13.12.2013
Hello. Well some bug lately occured, and I never had something like this.
My server had some host issues, so the host removed all of the server's database, so I had to reupload everything back.
Now that everything is back, two factions have a weapon skill bug, the other one's don't have any problems at all.
Now these two factions have a maximum weapon skill while the other factions have their weapon skill set to 200.
I tried to check the weapon skill script piece, but it seems that it's not the source. Can somebody tell me please what might be causing this weapon skill bug.
-Thanks, ill post any code piece that is necessary
Код:
SetPlayerSkillLevel(playerid,WEAPONSKILL_PISTOL,200);
SetPlayerSkillLevel(playerid,WEAPONSKILL_PISTOL_SILENCED,200);
SetPlayerSkillLevel(playerid,WEAPONSKILL_DESERT_EAGLE,200);
SetPlayerSkillLevel(playerid,WEAPONSKILL_SHOTGUN,200);
SetPlayerSkillLevel(playerid,WEAPONSKILL_SAWNOFF_SHOTGUN,200);
SetPlayerSkillLevel(playerid,WEAPONSKILL_SPAS12_SHOTGUN,200);
SetPlayerSkillLevel(playerid,WEAPONSKILL_MICRO_UZI,200);
SetPlayerSkillLevel(playerid,WEAPONSKILL_MP5,200);
SetPlayerSkillLevel(playerid,WEAPONSKILL_AK47,200);
SetPlayerSkillLevel(playerid,WEAPONSKILL_M4,200);
SetPlayerSkillLevel(playerid,WEAPONSKILL_SNIPERRIFLE,200);
P.S. The bug happens to every weapon type, not anything specific
REP +1
Re: Weapon skill bug -
Compton - 13.12.2013
Anybody?
Re: Weapon skill bug -
DaTa[X] - 13.12.2013
wher did u put that code ?
Re: Weapon skill bug -
Compton - 13.12.2013
OnPlayerSpawn
Re: Weapon skill bug -
Compton - 13.12.2013
Lock this, fixed.