New pages
Jump to navigation
Jump to search
- 02:59, 31 December 2024 SetElementLighting (hist | edit) [1,640 bytes] FileEX (talk | contribs) (Created page with "{{Client function}} __NOTOC__ {{New feature/item|3.0161|1.6.0|22862|This function changes the lighting value for the specified element. This can be a player, ped, vehicle, object, weapon.}} {{Note|Lighting is calculated in real-time, so you will likely need onClientRender or onClientPreRender.}} ==Syntax== <syntaxhighlight lang="lua"> bool setElementLighting ( element theElement, float lighting ) </syntaxhighlight> {{OOP||element:set...")
- 02:27, 31 December 2024 GetVehicleRotorState (hist | edit) [1,565 bytes] FileEX (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22862|This function returns a vehicle's (plane or helicopter) rotor state (on or off).}} ==Syntax== <syntaxhighlight lang="lua"> bool getVehicleRotoState ( vehicle theVehicle ) </syntaxhighlight> {{OOP||vehicle:getRotorState|rotorState|setVehicleRotorState}} ===Required Arguments=== *'''theVehicle''': the vehicle you wish to get the engine state of. ===Returns=== Returns '''true''' if the vehicle's...")
- 02:19, 31 December 2024 SetVehicleRotorState (hist | edit) [2,387 bytes] FileEX (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22862| Turns the rotor on/off for an plane or helicopter. A vehicle with the rotor turned off cannot hover in the air.}} {{Note|The function should not be confused with setVehicleEngineState.}} ==Syntax== <syntaxhighlight lang="lua"> bool setVehicleRotorState(vehicle theVehicle, bool state [, bool stopRotor = true ] ) </syntaxhighlight> {{OOP||vehicle:setRotorState|rotorState|getRotorState}} ===Requ...")
- 15:20, 26 December 2024 IsVehicleSmokeTrailEnabled (hist | edit) [1,140 bytes] Prox (talk | contribs) (Created page with "{{Client function}} __NOTOC__ {{Added feature/item|1.6.1|1.6.0|22815 | This function is used to check planes smoke trail enabled or disabled. }} {{Note|The smoke trail is only supported to models 512 and 513, so this only going to works with that models}} ==Syntax== <syntaxhighlight lang="lua"> isVehicleSmokeTrailEnabled( vehicle veh ) </syntaxhighlight> ===Required arguments=== *'''theVehicle:''' The vehicle that you want to set the smoke trail. ===Returns=...")
- 14:36, 26 December 2024 SetVehicleSmokeTrailEnabled (hist | edit) [1,298 bytes] Prox (talk | contribs) (Created page with "{{Client function}} __NOTOC__ {{Added feature/item|1.6.1|1.6.0|22815 | This function used to set planes smoke trail enabled or disabled. }} ==Syntax== <syntaxhighlight lang="lua"> setVehicleSmokeTrailEnabled ( vehicle veh, bool enable ) </syntaxhighlight> ===Required arguments=== *'''theVehicle:''' The vehicle that you want to set the smoke trail. *'''enable:''' A boolean if set to true it will enabled the smoke trail. *'''note''' this only works with vehicl...")
- 13:58, 22 December 2024 KillPedTask (hist | edit) [1,132 bytes] Prox (talk | contribs) (killPedTask adding latest functions)
- 02:01, 22 December 2024 OnShutdown (hist | edit) [1,240 bytes] FileEX (talk | contribs) (Created page with "__NOTOC__ {{Server event}} {{New feature/item|3.161|1.6.0|22837|This event is triggered when the server is about to be stopped using the server console or the shutdown function.}} ==Parameters== <syntaxhighlight lang="lua"> resource theResource, string reason </syntaxhighlight> *'''theResource:''' The resource that stops the server using the shutdown function. If the server is being stopped from the console, the '''resource''' is set to '''nil'''. *'''reaso...")
- 01:52, 22 December 2024 TestSphereAgainstWorld (hist | edit) [3,194 bytes] FileEX (talk | contribs) (Created page with "{{Client function}} __NOTOC__ {{New feature/item|3.161|1.6.0|22837| The function checks whether there is an object within the given radius and returns information about it. The function works similarly to processLineOfSight, but instead of a straight line, it operates based on the specified radius, forming a sphere.}} ==Syntax== Return values labelled for ease of reference. <syntaxhighlight lang="lua"> bool -- hit element -- hitElement floa...")
- 14:23, 15 December 2024 Script güvenliği-TEST (hist | edit) [7 bytes] Shady (talk | contribs) (Created page with "==Müşteri hafızasının farkındalığı== En temelden başlayarak: * Herhangi bir verinin istemci tarafında (client-side) saklanmasının risk altında olduğunu bilmelisiniz; buna .lua dosyaları da dahildir. İstemci tarafında (oyuncunun bilgisayarında) saklanan veya bu taraf üzerinden iletilen gizli ve/veya önemli veriler, kötü niyetli istemciler tarafından erişilebilir. * Hassas verileri ve/veya Lua mantığını güvende tutmak için sunucu tarafını...")
- 14:05, 15 December 2024 Script güvenliği (hist | edit) [14 bytes] Shady (talk | contribs) (Created page with "Düzenlenecek.")
- 16:37, 13 December 2024 HU/onClientPickupHit (hist | edit) [1,004 bytes] Zeratul97 (talk | contribs) (Created page with "{{Client event}} __NOTOC__ Ez az esemény akkor aktiválódik, amikor egy játékos belelép egy pickupba. ==Paraméterek== <syntaxhighlight lang="lua"> player thePlayer, bool matchingDimension </syntaxhighlight> *'''thePlayer:''' a játékos aki belelép a pickupba. *'''matchingDimension:''' ''true'' ha a játékos ugyanabban a dimenzióban van, amiben a pickup is van, egyébként ''false''. ==Forrás== Az esemény forrása az a pickup, amibe egy játékos belemegy. =...")
- 16:30, 13 December 2024 HU/onClientPedWeaponFire (hist | edit) [1,445 bytes] Zeratul97 (talk | contribs) (Created page with "{{Client event}} __NOTOC__ Ezt az eseményt akkor hívják meg, amikor ped fegyverre lő. Ez nem aktiválja a lövedék alapú vagy közelharci fegyvereket. {{Note|Ez az esemény csak a streamelt ped-ek esetében aktiválódik.}} ==Paraméterek== <syntaxhighlight lang="lua"> int weapon, int ammo, int ammoInClip, float hitX, float hitY, float hitZ, element hitElement </syntaxhighlight> *'''weapon''': egy int, amely a lövéshez használt fegyvert adja...")
- 16:22, 13 December 2024 HU/onClientPedWasted (hist | edit) [1,711 bytes] Zeratul97 (talk | contribs) (Created page with "__NOTOC__ {{Client event}} Ez az esemény akkor indul el, amikor egy ped meghal. ==Paraméterek== <syntaxhighlight lang="lua"> element killer, int weapon, int bodypart, float loss / bool stealth </syntaxhighlight> *'''killer''': A gyilkost jelképező játékos, ped vagy jármű elem. *'''weapon''': Egy integer amely a gyilkos fegyvert vagy a sérülés típust adja vissza. *'''bodypart''': Egy integer amely...")
- 16:11, 13 December 2024 HU/onClientPedHitByWaterCannon (hist | edit) [1,367 bytes] Zeratul97 (talk | contribs) (Created page with "__NOTOC__ {{Client event}} Ez az esemény akkor indul el, amikor egy pedet egy vízágyú talált el. {{Note|Ez az esemény csak a streamelt ped-ek esetében aktiválódik.}} ==Paraméterek== <syntaxhighlight lang="lua"> ped pedHit </syntaxhighlight> *'''pedHit:''' az a ped akit egy vízágyú eltalált. ==Forrás== Ennek az eseménynek a forrása az a jármű, amit egy vízágyú talált el. ==Típus== Ez az esemény egy reakció előtti esemény, ami azt jelenti, hogy...")
- 16:04, 13 December 2024 HU/onClientMarkerLeave (hist | edit) [1,018 bytes] Zeratul97 (talk | contribs) (Created page with "__NOTOC__ {{Client event}} Ez az esemény akkor indul el, amikor egy játékos elhagyja a createMarker által létrehozott markert. ==Paraméterek== <syntaxhighlight lang="lua"> player leftPlayer, bool matchingDimension </syntaxhighlight> *'''leftPlayer''': a player aki elhagyta a marker'st. *'''matchingDimension''': ''true'' ha a player ugyan abban a dimenzióban van mint a marker. ==Forrás== Ennek az események a event system#Event sour...")
- 15:56, 13 December 2024 HU/onClientColShapeLeave (hist | edit) [1,105 bytes] Zeratul97 (talk | contribs) (Created page with "__NOTOC__ {{Client event}} Ez az esemény akkor indul el amikor egy fizikai element elhagyja egy colshapet. ==Paraméterek== <syntaxhighlight lang="lua"> element theElement, bool matchingDimension </syntaxhighlight> *'''theElement:''' az element ami elhagyta a colshapet. *'''matchingDimension:''' egy boolean érték, hogy a játékos ugyan abban a dimenzióban van mint a colshape. ==Forrás== Ennek az eseménynek a forrása az a colshape, amit a...")
- 15:47, 13 December 2024 HU/onClientColShapeHit (hist | edit) [1,926 bytes] Zeratul97 (talk | contribs) (Created page with "{{Client event}} __NOTOC__ Ez az esemény akkor aktiválódik amikor egy fizikai element belemegy egy colshapebe. {{Note|A találatot a rendszer nem észleli, ha az elem, amely az alakzatba lépett, egy colshape vagy lövedék.}} ==Paraméterek== <syntaxhighlight lang="lua"> element theElement, bool matchingDimension </syntaxhighlight> *'''theElement:''' az element aki belemegy a colshapebe. *'''matchingDimension:''' egy boolean, amely arra utal,...")
- 15:07, 12 December 2024 HU/onClientMarkerHit (hist | edit) [1,317 bytes] Zeratul97 (talk | contribs) (Created page with "__NOTOC__ {{Client event}} Ez az esemény akkor indul el, amikor egy játékos belép a createMarker segítségével létrehozott jelölőbe. {{Important Note|Az esemény nem indul el, ha csak a játékos dimenziója változik. Tehát, ha a "matchingDimension"-t használja, amikor a játékosokat meglévő markerekbe teleportálja, először mindig a dimenziójukat/interiorjukat kell beállítani, és csak azután a pozíciót.}} ==Paraméterek== <syntaxhighlight l...")
- 15:00, 12 December 2024 HU/onClientPedHeliKilled (hist | edit) [1,067 bytes] Zeratul97 (talk | contribs) (Created page with "__NOTOC__ {{Client event}} Ez az esemény akkor indul el, amikor egy ped meghal egy helikopter lapátjainak hatására. {{Note|Ez az esemény csak a beérkező pedek esetében aktiválódik}} ==Paraméterek== <syntaxhighlight lang="lua"> vehicle killer </syntaxhighlight> *'''killer:''' a halált okozó jármű (heli). ==Forrás== Az esemény forrása a meggyilkolt ped ==Típus== Ez az esemény egy reakció előtti esemény, ami azt jelenti, hogy az ütközésre ado...")
- 14:46, 12 December 2024 HU/onClientPedDamage (hist | edit) [1,354 bytes] Zeratul97 (talk | contribs) (Created page with "__NOTOC__ {{Szerver oldali esemény}} Az esemény akkor indul el amikor egy ped megsérül. Játékos megsérülésére használja az onPlayerDamage eseményt. {{Jegyzet|Ez az esemény nem aktiválódik az r21247 előtt.}} ==Paraméter== <syntaxhighlight lang="lua">float loss</syntaxhighlight> *'''loss''': az int elvesztett egészségi állapotának százalékos arányát jelenti. ==Forrás== Ennek az eseménynek az forrása az a...")
- 14:32, 6 December 2024 OnPlayerChangesProtectedData (hist | edit) [1,011 bytes] TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Server event}} {{Added feature/item|1.6.1|1.6.0|22790|This event is triggered when a player tries to change protected element data. The server protects element data with using elementdata_whitelisted from '''mtaserver.conf''' and the '''clientChangesPolicy''' parameter in [setElementData.}} ==Parameters== *'''element''': The affected element. *'''key''': The name of the element data entry that has changed....")
- 19:34, 27 November 2024 OnPlayerChangesWorldSpecialProperty (hist | edit) [1,102 bytes] Nico834 (talk | contribs) (Add contents)