-
Posts
2,102 -
Joined
-
Last visited
-
Days Won
14
Everything posted by #BrosS
-
function RankedRefresh(theData) if theData == "XP:Ranked" then if getElementData( source, "Ranked" ) == 29 then if getElementData( source, "XP:Ranked" ) => 33000 then setElementData(source, "Next:XP", 35000) setElementData(source, "XP:Ranked", 0) setElementData(source, "Ranked", "Up") outButDxChat("#ffbf00[Ranks] : #00ff80 Your Next To Level 30",source,0,255,255) else setElementData(source, "XP:Ranked", 33000) end end if getElementData( source, "Ranked" ) == 30 then if getElementData( source, "XP:Ranked" ) => 35000 then outButDxChat("#ffbf00[Ranks] : #00ff80 لقد حصلت على الاخير مبارك عليك !",source,0,255,255,true) setElementData(source,"Coins",(getElementData(source,"Coins") or 0) + 300 ) else setElementData(source, "XP:Ranked", 35000) end end end end addEventHandler("onElementDataChange", root, RankedRefresh)
-
How to disable minimap at starting when entering local server?
#BrosS replied to bencskrisz's topic in Scripting
setPlayerHudComponentVisible -- "radar" -
try it again addEventHandler("onResourceStart",resourceRoot, function () for _, player in ipairs (getElementsByType("player")) do bindKey(player,"lshift", "down", function() if not isPedInVehicle(player) then return end local vehicle = getPedOccupiedVehicle(player) local accName = getAccountName ( getPlayerAccount ( player ) ) if vehicle and getVehicleController(vehicle) == player and isObjectInACLGroup("user."..accName, aclGetGroup ( "Admin" )) then local vehType = getVehicleType( vehicle ) if vehType == "Plane" or vehType == "Helicopter" then return end local sx, sy, sz = getElementVelocity( vehicle ) setElementVelocity(vehicle, sx , sy, sz +0.33) --outputChatBox("executed") end end) end end) i have no idea what happened I just rewrote the code getVehicleType also it's been happening alot when i copy codes from here they don't work unless i manually rewrite them
-
what's the button's name that's suppose to close the image
-
also replace that with this <script src="jump.lua" type="server"/>
-
use this on serverside addEventHandler("onResourceStart",resourceRoot, function () for _, player in ipairs (getElementsByType("player")) do bindKey(player,"lshift", "down", function() if not isPedInVehicle(player) then return end local vehicle = getPedOccupiedVehicle(player) local accName = getAccountName ( getPlayerAccount ( player ) ) if vehicle and getVehicleController(vehicle) == player and isObjectInACLGroup("user."..accName, aclGetGroup ( "Admin" )) then local vehType = getVehicleType(vehicle) if vehType == "Plane" or vehType == "Helicopter" then return end local sx, sy, sz = getElementVelocity(vehicle) setElementVelocity(vehicle, sx, sy, sz + 0.33) end end ); end end );
-
you can use dx libraries, such as dgs very recommended tutorial on how to use it : dgs tut
-
استعمل "onClientClick" -- clickedWorld مع بارامتر guiSetVisible -- لفتح اللوحة "onClienGUIClick" -- للضغط setPedAnimation --يسوي حركة
-
MrPed = createPed(0 ,x ,y, z) addEventHandler("onClientPedDamage",MrPed, function() cancelEvent() end ); x, y, z احداثيات البيد حقك
-
عدل على مود القواضي حقك كله ماتجي نجوم للشرطة خله*
-
[Gta-AU] GangWars/RPG/CnR/ Arabs Unity الاتحاد العربي لحرب العصابات
#BrosS replied to #StrOnG_,)'s topic in Arabic / العربية
جميل جداً استمروا للأفضل في الحقيقة عندي نقد واحد ض1 1920x1080 اللي شافته فوق لازمله نظارات شاشته* -
اتوقع ان توقعاتك غير متوقعة
-
والله لا راني مع الباك موراه نديرلك وش تحب بب نقصر معاك برك
-
على حسب مافهمتك هذا مو بق ض1 اصلا مستحيل الإسم يكون اطول من هيك حده 22 حرف
-
لسا مافهمت ض1 QQQQQQQQQQQQQ هذا شنو انت تقول تبي الإسم يظهر مكانه؟
-
مافهمت ممكن توضح أكثر تبي الإسم يظهر بدون ألوان ولا شنو
-
addEventHandler("onPlayerQuit",root, function() cancelEvent() end );
-
.................. 3201t3h gfd$lmfdù^pkdfs^sdokp$ùdsfkl,msdgqjdfs شفيكم الله يهديكم هو يبي يغير النص فقط . حط نصوص في متغيرات وغيرها عند الضغط رح تجيني جلطة