/duty - 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: /duty (
/showthread.php?tid=332368)
/duty -
Alex.Cone - 07.04.2012
Hello there,
I have made /duty command in pawno, and i have one problem
Код:
GivePlayerWeapon(playerid, 22, 21);
And player got two guns like on this pic:
http://zaslike.com/files/guzwg9zck006t8d75tt.png
How can I make that he got only one?
Re: /duty -
Jonny5 - 07.04.2012
i think this has to do with there weapon skill level
https://sampwiki.blast.hk/wiki/SetPlayerSkillLevel
if set too high they can yield 2 weapons of
an example for that weapon would be to set there level to 1
pawn Код:
SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 1);
Re: /duty -
Ezay - 08.04.2012
1 - 998 = A
curracy
999 = Y
ield of Two Weapons
Someone Correct me if I'm Wrong, but i Be live this is The Information.
Cheers
Ezay
\o/
Re: /duty -
iOmar - 08.04.2012
REMOVED.
Re: /duty -
$$inSane - 08.04.2012
Код:
SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 1);
Set the player pistol gun skill level to low.