Talk:SetElementData: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Added a question about the max key name length which is probably outdated.)
No edit summary
 
Line 11: Line 11:
  https://code.google.com/p/mtasa-blue/source/browse/trunk/MTA10_Server/mods/deathmatch/logic/CCustomData.h#23
  https://code.google.com/p/mtasa-blue/source/browse/trunk/MTA10_Server/mods/deathmatch/logic/CCustomData.h#23
--Citizen
--Citizen
Yes, the element data key length seems to be increased in r2819 (https://code.google.com/p/mtasa-blue/source/detail?spec=svn6159&r=2819)

Latest revision as of 16:34, 25 February 2014

Bug found, i think o,o setElementData (weaponPickup,"norespawn",true) <<

Weaponpickup is a weapon pickup as the name says, like a AK-47

Debugscript: WARNING: ...: Bad argument @ 'setElementData'

True or False can't be a var in this case i think.

--Jasper. 18:38, 18 July 2010 (UTC)


The wiki says the key length can't be higher than 31 but in the source code it looks like it's now 128. Am I right ?:

https://code.google.com/p/mtasa-blue/source/browse/trunk/MTA10_Server/mods/deathmatch/logic/CCustomData.h#23

--Citizen

Yes, the element data key length seems to be increased in r2819 (https://code.google.com/p/mtasa-blue/source/detail?spec=svn6159&r=2819)