-
Posts
45 -
Joined
-
Last visited
Everything posted by Felix5k
-
function unit() status = 0 if (status == 0) then createBlipAttachedTo(source, 0, 4, 0, 0, 255) outputChatBox("#898c8f<<#2c469cNeXoN Roleplay#898c8f>> #0f5720Sikeressen megváltoztatad az egységed állapotát: #ffffff||Járőr||", source, 255, 255, 255, true) status = status + 1 else outputChatBox("#898c8f<<#2c469cNeXoN Roleplay#898c8f>> #0f5720Már ez az egységed állapota.", source, 255, 255, 255, true) end end addEvent("Button1", true) addEventHandler("Button1", root, unit)
-
AM CREAT PE MTA JOCUL RED LIGHT GREEN LIGHT DIN SQUID GAME MAI JOS AVETI O PREZENTARE A SCRIPTULUI.
-
yea i got the same problem
-
OnVehicleStartEnter si mai ai nevoie de un if care il citeste daca e admin simplu
-
Howdy ? We have opened the SwordGaming server waiting for you on the server if you want something unique and beautiful! ss: https://prnt.sc/qw4r1c IP : mtasa://185.248.199.125:22003 discord:https://discord.gg/hFKnVNz
-
Salutare ? Am deschis serverul SwordGaming va asteptam pe server daca vreti ceva unic si frumos! ss: https://prnt.sc/qw4r1c IP : mtasa://185.248.199.125:22003 discord:https://discord.gg/hFKnVNz
-
i think you need to use DxCreateFont
-
local ok = false local screenW, screenH = guiGetScreenSize() local markery = { { -2413.51171875, -602.2509765625 , 132.5625-1,true}, { -2412.392578125, -590.11328125 , 132.6484375-1,true} } local marki = nil for k,v in ipairs( markery ) do marki = createMarker ( v[1],v[2],v[3], "cylinder", 2, 255, 255, 255, 255 ) createPickup( v[1],v[2],v[3],3,1239,2000) setElementData(marki, "markery:gui", v[4]) end ---=-=-=-=-=-=-=-=-=-=-=-= -- enter marker function MarkerEnter(theElement, matchingDimension) if ( theElement == localPlayer ) and ok == false and getElementData(source, "markery:gui") == true then setElementData(localPlayer, "markerygui:player", true) ok = true addEventHandler("onClientRender",root,gui) end end addEventHandler ( "onClientMarkerHit", getRootElement(), MarkerEnter ) ---=-=-=-=-=-=-=-=-=-=-=-= -- leave marker function MarkerLeave(theElement, matchingDimension) if ( theElement == localPlayer ) and ok == true and getElementData(localPlayer, "markerygui:player") == true then setElementData(localPlayer, "markerygui:player", false) ok = false removeEventHandler("onClientRender",root,gui) end end addEventHandler ( "onClientMarkerLeave", getRootElement(), MarkerLeave ) function gui() dxDrawLine((screenW * 0.2526) - 1, (screenH * 0.3190) - 1, (screenW * 0.2526) - 1, screenH * 0.4922, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.7101, (screenH * 0.3190) - 1, (screenW * 0.2526) - 1, (screenH * 0.3190) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine((screenW * 0.2526) - 1, screenH * 0.4922, screenW * 0.7101, screenH * 0.4922, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.7101, screenH * 0.4922, screenW * 0.7101, (screenH * 0.3190) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(screenW * 0.2526, screenH * 0.3190, screenW * 0.4575, screenH * 0.1732, tocolor(2, 120, 252, 62), false) dxDrawText("Informacja", screenW * 0.3338, screenH * 0.3854, screenW * 0.6120, screenH * 0.4583, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "top", false, false, false, false, false) end now should work
-
e o resursa nu stiu exact care si nu stiu daca sigur o ai ..
-
local ok = false local screenW, screenH = guiGetScreenSize() local markery = { { -2413.51171875, -602.2509765625 , 132.5625-1,true}, { -2412.392578125, -590.11328125 , 132.6484375-1,true} } local marki = nil for k,v in ipairs( markery ) do marki = createMarker ( v[1],v[2],v[3], "cylinder", 2, 255, 255, 255, 255 ) createPickup( v[1],v[2],v[3],3,1239,2000) setElementData(marki, "markery:gui", v[4]) end ---=-=-=-=-=-=-=-=-=-=-=-= -- enter marker function MarkerEnter(theElement, matchingDimension) if ( theElement == localPlayer ) and ok == false and getElementData(source, "markery:gui") == true then setElementData(localPlayer, "markerygui:player", true) ok = true addEventHandler("onClientRender",root,gui) end end addEventHandler ( "onClientMarkerHit", getRootElement(), MarkerEnter ) ---=-=-=-=-=-=-=-=-=-=-=-= -- leave marker function MarkerLeave(theElement, matchingDimension) if ( theElement == localPlayer ) and ok == true and getElementData(source, "markerygui:player") == true then setElementData(localPlayer, "markerygui:player", false) ok = false removeEventHandler("onClientRender",root,gui) end end addEventHandler ( "onClientMarkerLeave", getRootElement(), MarkerLeave ) function gui() dxDrawLine((screenW * 0.2526) - 1, (screenH * 0.3190) - 1, (screenW * 0.2526) - 1, screenH * 0.4922, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.7101, (screenH * 0.3190) - 1, (screenW * 0.2526) - 1, (screenH * 0.3190) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine((screenW * 0.2526) - 1, screenH * 0.4922, screenW * 0.7101, screenH * 0.4922, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.7101, screenH * 0.4922, screenW * 0.7101, (screenH * 0.3190) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(screenW * 0.2526, screenH * 0.3190, screenW * 0.4575, screenH * 0.1732, tocolor(2, 120, 252, 62), false) dxDrawText("Informacja", screenW * 0.3338, screenH * 0.3854, screenW * 0.6120, screenH * 0.4583, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "top", false, false, false, false, false) end try this
-
ar trebuii sa verifici modurile,dar cred ca e de la obiect stiu ca parca pe gamemode-ul acela erau arme custom si poate de acea
-
have you set export in meta?
-
https://www.youtube.com/watch?v=A3hjuNUdBio
-
e cam simplu safe house ala , puteai sa il faci mai bine de atat dar oricum bravo
-
local marker = getElementsByType("marker") numaratoare = 0 for k, markere in ipairs(marker) do numaratoare = numaratoare + 1 outputChatBox(numaratoare) end poftim aici , iti scrie in chat numarul de markere. ca sa functioneze pe editor faci si tu o resursa si introduci functia de mai sus intr-un client.
- 1 reply
-
- 1
-