Talk:SetElementData: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with '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 …')
 
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Bug found, i think o,o
Bug found, i think o,o
setElementData (weaponPickup,"norespawn",true) <<
setElementData (weaponPickup,"norespawn",true) <<
  Weaponpickup is a weapon pickup as the name says, like a AK-47
Weaponpickup is a weapon pickup as the name says, like a AK-47
Debugscript: WARNING: ...: Bad argument @ 'setElementData'
Debugscript: WARNING: ...: Bad argument @ 'setElementData'
  True or False can't be a var in this case i think.
True or False can't be a var in this case i think.
--[[User:JasperNL|Jasper.]] 18:38, 18 July 2010 (UTC)
--[[User:JasperNL|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)

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)