SA-MP Forums

Go Back   SA-MP Forums > SA-MP > Bug Reports

Reply
 
Thread Tools Display Modes
Old 21/12/2018, 11:26 AM   #1
Riddick94
Banned
 
Join Date: Mar 2010
Location: Poland
Posts: 1,794
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
Old 21/12/2018, 12:00 PM   #2
BeckzyBoi
Beta Tester
 
Join Date: Dec 2006
Posts: 1,191
Reputation: 135
Default 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
BeckzyBoi is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SetSpawnInfo help please exdev Scripting Help 10 15/08/2015 05:24 AM
[HELP] SQLite funcs vannesenn Scripting Help 12 19/06/2014 06:07 PM
[Ajuda] SetSpawnInfo goldspy98 PortuguÍs/Portuguese 0 10/08/2013 01:52 AM
strings in custom funcs. EV007 Scripting Help 1 04/03/2013 11:56 AM
asin, acos, atan, atan2 funcs? xomka Help Archive 1 28/10/2009 08:35 AM


All times are GMT. The time now is 08:51 PM.


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