Element: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
m (info about dummy elements)
 
(16 intermediate revisions by 15 users not shown)
Line 1: Line 1:
=POGROMCA PSEUDOLI, KRUL BONZO POWRACA KURWY=
An '''element''' is a generic class that can represent almost all in-game [[entity|entities]]. The built-in element types are:
==JEBANE KURWY==
 
===.WhiteBlue===
{{Elements}}
Autor tego zjebanego gamemode OGRPG przez który dzieci podpierdalają kase rodzicom i zabijają się wzajemnie o stworzenie lepszego pseudola.<br>
 
gtao.pl/whiteblue,u,80095.htm
Any other element type can be created as an abstract element, not referring to any game [[entity]]. For example, '''resource''' and '''map''' elements are created when resources and maps are loaded to group entities they create as their children.
===Ciastuuś===
 
Z tym gościem od lua lepiej nie zadzierać. Zatrzymał się w rozwoju 10 lat temu i myśli, że moduł MySQL jest nadal zajebisty.<br>
Elements created with [[createElement]] are called dummy elements.
gtao.pl/ciastuus,u,87450.htm
 
===Emm===
Elements share common functions such as type and list retrieval, a destroy operation to remove both the element and the game entity it is linked to (except for some elements which can't be destroyed, for example client elements), [[element data]] storing and retrieval, and many more common operations.
Szkoda nawet kurwa gadać o tym typie.<br>
 
gtao.pl/emm,u,76072.htm
All elements are stored internally in a [[Element tree|tree structure]], and as such every element except the '''root''' element has a parent element, that can be the '''root''' element, a '''resource''', '''map''' or another element. This is purely for declaring the scope of function calls.
===luki123luki123===
 
Chyba każdy go zna ze swoich nieukończonych projektów. Mistrz od paneli logowania. Byłyby całkiem ładne, gdyby nie to że są chujowe.<br>
==Related scripting functions==
gtao.pl/luki123luki123,u,46179.htm
===Client===
===NyAngel===
{{Client element functions}}
Liczniki nówki sztuki za 10zł. Jeszcze żaden pseudol nie używał.<br>
===Server===
gtao.pl/nyangel,u,75320.htm
{{Element functions}}
===_Haze===
[[Category:Scripting Concepts]]
Marzył o zostaniu hakerem jak słynny hustolier, ale mu nie wyszło.<br>
 
gtao.pl/_haze,u,71303.htm
[[en:Element]]
===TRIN===
[[ru:Element]]
Wszyscy wiemy, że to nasz kochany TRIN. Zmiana nicku go nie ukryje.<br>
[[es:Elemento]]
gtao.pl/papasmerf,u,81160.htm
[[it:Elemento]]
===STOPseba===
[[hu:Element]]
Naprawdę przykro mi że twój pseudol upadł.<br>
[[pl:Element]]
gtao.pl/stopseba,u,77586.htm
[[pt-br:Elemento]]
==Wpisując swojego pseudola na tą listę możesz liczyć na moją wizytę.==
gtao.pl/reklamy-serwerow-mta-vf100.htm

Latest revision as of 09:49, 14 October 2024

An element is a generic class that can represent almost all in-game entities. The built-in element types are:

ADDED/UPDATED IN VERSION 1.6.0 r22410:

Any other element type can be created as an abstract element, not referring to any game entity. For example, resource and map elements are created when resources and maps are loaded to group entities they create as their children. Elements created with createElement are called dummy elements. Elements share common functions such as type and list retrieval, a destroy operation to remove both the element and the game entity it is linked to (except for some elements which can't be destroyed, for example client elements), element data storing and retrieval, and many more common operations. All elements are stored internally in a tree structure, and as such every element except the root element has a parent element, that can be the root element, a resource, map or another element. This is purely for declaring the scope of function calls.

Related scripting functions

Client



Server