View Single Post
Old 21/12/2018, 11:26 AM   #1
Riddick94
Banned
 
Join Date: Mar 2010
Location: Poland
Posts: 1,767
Reputation: 223
Post SetSpawnInfo and some other funcs

Hello,

Since Kalcor has decided to be more active at forums recently, I have decided to report two of the many bugs.

---
#1
One of the messages from 2010:
Quote:
Originally Posted by Riddick
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.

[...]
In short - weapon's clip size ammo is set to 34 (as for example of 9mm pistol) even though that my weapon skill for 9mm is set to have pistol in one hand. So in fact as a result as I should have 17 ammo, not 34 (17 * 2 = 34). May not be SA-MP's bug, but SA, I am not sure.

---
#2
native's "SetSpawnInfo" parameter called "team" does NOT have any effect at all. You gotta set your team manually anyway with "SetPlayerTeam".

That should be fixed internally.

Thanks

edit://
Oh, oh! Let me edit my post real quick before I hear some other people saying some shit like "scriptable".... Thank you very much, don't waste your keyboard and time.
Riddick94 is offline   Reply With Quote