Talk:SetElementData

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

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)