View Issue Details

IDProjectCategoryView StatusLast Update
0007064Multi Theft Auto : San AndreasServerpublic2012-09-03 22:40
ReporterFrankZZ Assigned To 
Status resolvedResolutionfixed 
Platformx64OSWindows 7OS Version7.1.7601SP1
Target Version1.3.1Fixed in Version1.3.1 
Summary0007064: setPlayerNametagColor(player, false) (reset overridecolor) does not work, bad argument

When calling setPlayerNametagColor(getPlayerFromName("FrankZZ"), false) lua says "Bad argument @ setPlayerNametagColor()".

This is (probably) the exact line and file of the bug:

Steps To Reproduce

I'll describe it by code:

local player = getPlayerFromName("FrankZZ")
local team = createTeam("test", 255, 0, 0) --RED

setPlayerTeam(player, team) --player is RED now

setPlayerNametagColor(player, 0, 0, 255) --Player is BLUE now

setPlayerNametagColor(player, false) -- reset the color to team color (= RED)
^ The last line of code produces the error.

TagsNo tags attached.



2012-05-12 11:13

viewer   ~~0016638

Created a patch for this:


2012-06-01 13:47

administrator   ~~0016739

Applied patch:

Issue History

Date Modified Username Field Change