SA-MP Forums Archive
GivePlayerWeapon - Bug - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: GivePlayerWeapon - Bug (/showthread.php?tid=267118)



GivePlayerWeapon - Bug - Riddick94 - 07.07.2011

Message from 11/12/2010y.

Hey.. i had today a some bug with GivePlayerWeapon. I've a command /gun [weapon_id] [ammo] and skills of weapons to one hand. One pistol, sawn-0ff etc. After i wrote /gun 22 100 (Pistol and 100 ammo) ammuntion to magazine has set to 34.. not 17.

Screens:
Before spawn gun with ammo:
/imageshack/img828/9...ungoodammo.jpg

After spawn pistol with 9 ammo (9 ammo had add to Spare):
/imageshack/img692/9...zineonegun.jpg

Link to the topic what i created earlier:
https://sampforum.blast.hk/showthread.php?tid=198315

P.S
Sorry for my Bad English i'm from Poland


Re: GivePlayerWeapon - Bug - Sew_Sumi - 07.07.2011

Idea, Set the skill level BEFORE giving them the gun


Like, Even set it in the OnPlayerConnect, and set it low, so no dualies, then try the same.