SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Bug Reports (https://forum.sa-mp.com/forumdisplay.php?f=20)
-   -   SetSpawnInfo and some other funcs (https://forum.sa-mp.com/showthread.php?t=662010)

Riddick94 21/12/2018 11:26 AM

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.

beckzy 21/12/2018 12:00 PM

Re: SetSpawnInfo and some other funcs
 
I can confirm the second issue R.E. SetSpawnInfo.

Edit:
https://forum.sa-mp.com/showthread.php?t=624667
https://forum.sa-mp.com/showthread.php?t=649396


All times are GMT. The time now is 06:21 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.