SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 01/01/2016, 09:29 PM   #201
xerox8521
Big Clucker
 
Join Date: Nov 2010
Posts: 143
Reputation: 3
Default Re: Complete scripting bugs list (0.3 updated)

GetWeaponName returns a null string for weapon 0 aka Fists. Should be noted on the wiki and the workaround needs to be updated aswell.
__________________
Code:
GameModes
xerox8521 is offline   Reply With Quote
Old 02/01/2016, 01:36 AM   #202
Abagail
High-roller
 
Join Date: Dec 2013
Location: GetPlayerPos(playerid, pos); Scripter/Mapper.
Posts: 3,431
Reputation: 406
Default Re: Complete scripting bugs list (0.3 updated)

Code:
GetWeaponNameEx(weaponid, const weapon[], len)
{
	if(weaponid == 0)
	{
		strcat(weapon, "Fists", sizeof weapon);
		return 1;
	}
	
	else return GetWeaponName(weaponid, weapon, len);
}

#if defined _ALS_GetWeaponName
	#undef GetWeaponName
#else
#define _ALS_GetWeaponName
#endif
#define GetWeaponName GetWeaponNameEx
Abagail is offline   Reply With Quote
Old 19/01/2016, 07:19 PM   #203
mobiliz
Big Clucker
 
Join Date: Aug 2012
Posts: 143
Reputation: 13
Default Re: Complete scripting bugs list (0.3 updated)

http://forum.sa-mp.com/showthread.php?t=598959
__________________

Developing
Zombie Infest [Remake]
True Crime v2
mobiliz is offline   Reply With Quote
Old 22/04/2016, 04:12 PM   #204
KattoN
Little Clucker
 
Join Date: Oct 2015
Posts: 1
Reputation: 0
Default Re: Complete scripting bugs list (0.3 updated)

Attach3DTextLabelToPlayer not working (hidden 3dtext permanently)
KattoN is offline   Reply With Quote
Old 22/04/2016, 06:50 PM   #205
BeckzyBoi
High-roller
 
Join Date: Dec 2006
Posts: 1,610
Reputation: 76
Default Re: Complete scripting bugs list (0.3 updated)

Quote:
Originally Posted by KattoN View Post
Attach3DTextLabelToPlayer not working (hidden 3dtext permanently)
You can't see 3D text labels that are attached to yourself - only other players can see them.
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
[GameMode] [GM] Complete War MrXavier Gamemode Scripts 22 02/04/2013 11:25 AM
Complete Server Setup SanAntonio Server Support 5 31/10/2009 02:38 PM
need help with scripting and bugs and server and website mi33le Server Support 1 06/09/2009 09:52 PM
The Big Damn List of Tutorials (Photoshop) -Will be Updated! RobertGraham Everything and Nothing 10 01/07/2009 08:40 PM


All times are GMT. The time now is 10:05 PM.


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