Search results

Jump to navigation Jump to search
  • ...y is changed. Such changes can be made on the client or the server using [[setElementData]]. *'''oldValue''': The old value of this entry before it changed. See [[element data]] for a list of possible datatypes.
    2 KB (332 words) - 18:17, 7 June 2023
  • ...information you want associated with an element, for example you could use it to associate a score with a player, or a team with a vehicle. ...keep element properties synced without having to set special events to do it manually. This also means that excessive use of element data to store vari
    2 KB (261 words) - 16:38, 8 April 2024
  • {{Note|If you want to remove the data in client side you can use 'setElementData(element, key, nil)'.}} This will set element data for player which spawned, and then remove it on death.
    1 KB (151 words) - 11:38, 18 October 2023
  • As element data is synced to all clients, it can generate a lot of network traffic and be heavy on performance. Events a ...efficient way to make a variable known to the server and clients is to use setElementData on the [[root]] element.}}
    6 KB (874 words) - 19:10, 10 June 2023
  • ...tData ( claymoreCol , "type", "claymore" ) --store the type of colshape so it can be retrieved setElementData ( claymoreCol, "object", claymoreObject ) --store the object of the claymor
    3 KB (429 words) - 09:26, 6 November 2023
  • setElementData ( setElementData ( gif, "gifData", gifData, false )
    3 KB (370 words) - 15:07, 6 August 2019
  • destroyElement ( theZone ) -- if so, destroy it ...tData ( claymoreCol , "type", "claymore" ) --store the type of colshape so it can be retrieved
    4 KB (525 words) - 17:40, 9 October 2018
  • ...s indicates that the resource which triggered the event should do whatever it can to reverse any changes made by whatever caused the event. See [[trigger Returns ''true'' if the event was cancelled, ''false'' if it wasn't or doesn't exist.
    2 KB (208 words) - 11:51, 8 June 2022
  • ...y is changed. Such changes can be made on the client or the server using [[setElementData]]. *'''oldValue''': The old value of this entry before it changed. See [[element data]] for a list of possible datatypes.
    1 KB (166 words) - 12:28, 8 October 2018
  • ...te de tornar uma variável conhecida pelo servidor e pelos jogadores é usar setElementData no elemento [[root]].}} {{BR/Nota|Por motivos de desempenho nunca utilize setElementData em eventos que são acionados com frequência como [[onClientRender]]. O us
    7 KB (973 words) - 04:25, 7 August 2020
  • * '''isPassword''': is the text on the edit box a password? change it to true to change the speech into symbols. local editboxText = getElementData(editboxElement, "editboxText") or setElementData(editboxElement, "editboxText", "")
    7 KB (770 words) - 04:00, 2 November 2023
  • {{OOP||[[element]]:getData||setElementData}} ...archy to find the requested key in case the specified element doesn't have it.
    3 KB (359 words) - 18:35, 31 January 2022
  • ...ator:''' the explosion's simulated creator, the [[player]] responsible for it. ...tData ( claymoreCol , "type", "claymore" ) --store the type of colshape so it can be retrieved
    6 KB (763 words) - 11:44, 11 January 2024
  • This function destroys an [[element]] and all elements within it in the hierarchy (its children, the children of those children etc). [[play ...successfully, ''false'' if either the element passed to it was invalid or it could not be destroyed for some other reason (for example, clientside destr
    5 KB (689 words) - 18:11, 17 November 2021
  • ...efficient way to make a variable known to the server and clients is to use setElementData on the [[root]] element.}} bool setElementData ( element theElement, string key, var value [, bool synchronize = true ] )
    5 KB (227 words) - 16:07, 21 August 2016
  • ...n account system, though it's persistence is equivalent to that of using [[setElementData]] on the player's element. ...g gametype, the amount of money a player has is made persistent by storing it in his account. Note the code uses "piraterpg.money" as key instead of just
    3 KB (413 words) - 10:41, 30 January 2022
  • ...of it's meta.xml file. This is simply to allow Race to identify it and put it in the /config menu for you. Addons communicate with Race via events. The c ...''' if the pickup is of type vehiclechange, this is the vehicle model that it sets.
    10 KB (1,343 words) - 11:38, 5 November 2018
  • * '''weapon''': If the type is a Weapon pickup, then it represents the [[Weapon|weapon ID]] of the weapon pickup. When used with th ...ntPosition ( source ) --get the position of the person who died and define it as x, y and z
    3 KB (475 words) - 19:32, 21 May 2023
  • {{IT/MainP}} ...no sul server e sul client. Questo è direttamente correlato al set delle [[IT/Introduzione alle Risorse|risorse]] in esecuzione, e ai loro file delle map
    7 KB (988 words) - 09:57, 5 August 2011
  • ...the set of running [[resources]] and their map files' XML layout, although it can be changed at run-time by scripts. ...puter-science, this should be easy to understand. If you are not, think of it as a family tree - except everyone only has a single parent. Every [[elemen
    7 KB (1,039 words) - 08:12, 24 October 2022
View (previous 20 | ) (20 | 50 | 100 | 250 | 500)