SetSpawnInfo and some other funcs
#1

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.
Reply
#2

I can confirm the second issue R.E. SetSpawnInfo.

Edit:
https://sampforum.blast.hk/showthread.php?tid=624667
https://sampforum.blast.hk/showthread.php?tid=649396
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)