
PaiN^
Members-
Posts
2,258 -
Joined
-
Last visited
Everything posted by PaiN^
-
local marker = createMarker( ... ) -- سوي ماركر local setData = setTimer( function( ) -- سوي تايمر local data = getElementData( marker, "usable" ) -- للماركر usable جيب قيمة الداتا setElementData( marker, "usable", not data ) -- true/false إلى true/false غيرها من end, 300000, 0 ) -- خلي التايمر لانهائي addEventHandler( "onMarkerHit", marker, -- ضيف حدث يوم أحد يخش الماركر function( element ) if not getElementData( marker, "usable" ) then -- ؟ false تحققق من الداتا هل تساوي return -- يلغي الوظيفة false إذا كانت الداتا end --- false هنا كودك لو الداتا ما كانت end )
-
InterpolateBetween + DX مسوينه بـ SAUR إلا مداك ياكنق, النص المتحرك في لوحة سيرفر
-
أكثر من نص المودات المهمة فيها حسابات متعلقة بالرياضيات والله يا ليتني ركزت, كن فجرت الدنيا بموداتي ذذ
-
الستنج تضفيه في الميتا > name="" value="" />> والأكواد : -- Server : -- functions : get set triggerClientEvent -- events : "onSettingChange" -- Client : -- functions : addEvent addEventHandler dxDrawText setTimer killTimer -- مني متأكد ذذ -- events : "onClientRender"
-
Well since it's allready asked, How can i make that moving script or whatever , Like in the SAUR login panel .
-
You wouldn't open this topic if you searched the community ! community.multitheftauto.com
-
Wow, That's really nice . Would you release it when you're done ?
-
callRemote أعطي الصلاحية للفنكشن name="function.callRemote" access="true" >>
-
Try this one : -- Server Side Script function addToGroup( group ) group = aclGetGroup( group ) if group == false or group == nil then error( "The value of the 'group' is nil or false !" ) end account = getPlayerAccount( source ) if not isGuestAccount( account ) then local name = getAccountName( account ) local add = aclGroupAddObject( group, "user."..name ) if add then outputChatBox( "The object has been added successfully to the group", root, 0, 255, 0, true ) triggerClientEvent( source, "hideall", source ) else outputChatBox( "This object is already in the group", source, 255, 0, 0, true ) end else outputChatBox( "You have to be registered before", source, 255, 0, 0, true ) end else outputChatBox( "The group doesn't exist in the ACL group", source, 255, 0, 0, true ) end addEvent( "addToGroup", true ) addEventHandler( "addToGroup", root, addToGroup )
-
Well you have 2 options : - Pay someone expert in fx files to do it for you . - Learn how to do fx files . Otherwise stop posting about this problem .
-
AlcatRaz لآهنت عالشرح الجميل يا يعطيك ربي ألف عافية ,,
-
The second parameter in the "onClientMarkerHit" event is "matchingDimnsions" not the marker element . And why are you using "tostring" in "createMarker" while you need int values ? And the "outputChatBox" in line 27, If the "v.vehicle" value isn't a string you'll get errors . Try this : function createpickups( pickups ) for _,v in pairs( pickups ) do if v.type == "nitro" then marker = createMarker( v.posX, v.posY, v.posZ, "checkpoint", 1.5, 255, 0, 0, 255 ) setElementData( marker, "nesinsen", "nitro" ) elseif v.type == "repair" then marker = createMarker( v.posX, v.posY, v.posZ, "checkpoint", 1.5, 0, 255, 255, 255 ) setElementData( marker, "nesinsen", "repair" ) elseif v.type == "vehiclechange" then marker = createMarker( v.posX, v.posY, v.posZ, "checkpoint", 1.5, 255, 255, 0, 255 ) setElementData( marker, "nesinsen", "vehiclechange" ) setElementData( marker, "degistirilecekaraba", v.vehicle ) end pickuplar[marker] = true end end -- function markers( hitPlayer, matchingDimension ) local neci = getElementData( source, "nesinsen" ) if neci == "nitro" then outputChatBox( "nitro" ) elseif neci == "repair" then outputChatBox( "repair" ) elseif neci == "vehiclechange" then local araba = getElementData( source, "degistirilecekaraba" ) outputChatBox( "vehiclechange" ) outputChatBox( araba ) end end addEventHandler( "onClientMarkerHit", getRootElement( ), markers )
-
math.floor > أصغر عدد صحيح math.ceil > أكبر عدد صحيح
-
createMarker "onMarkerHit" getElementData setElementData
-
أعتقد الأبعاد الوهمية لها عدد محدود ما أظن يوصل لـ 5725 + No Team متأكد إنك في تيم
-
إذا بس التسجيل خربان, عطه صلاحيات أدمن
-
CashText = guiCreateLabel( 35, 69, 200, 33, "Your Money : ", false, StatsWindow ) guiSetFont( CashText, "default-bold-small" ) function refreshStats( ) if guiGetVisible( StatsWindow ) then guiSetText( CashText, "Your Money :"..getPlayerMoney( ).." $" ) end end addEventHandler( "onClientRender", getRootElement( ), refreshStats ) جرب ذا
-
CashText = guiCreateLabel( 35, 69, 200, 33, "Your Money : ", false, StatsWindow ) guiSetFont( CashText, "default-bold-small" ) function refreshStats( ) if guiGetVisible( StatsWindow ) then guiSetText( CashText, "Your Money : $ "..getPlayerMoney( getLocalPlayer( ) ) ) end end addEventHandler( "onClientRender", getRootElement( ), refreshStats )
-
I'v fixed some errors, Try : -- start: 2768, 2455, 14 -- 1. checkpoint : 406, 2507, 17 -- 2. checkpoint : -2330, -1614, 484 -- 3. checkpoint : -1890, -2423, 33 -- 4. checkpoint : -1170, -2640, 12 -- 5. checkpoint : -24, -2510, 37 -- 6. checkpoint : -789, 2424, 157 -- 7. checkpoint : -2257, 2296, 5 -- goal : -7478, -329, 24 local gumballTable = { { 406, 2507, 17 }, { -2330, -1614, 484 }, { -1890, -2423, 33 }, { -1170, -2640, 12 }, { -24, -2510, 37 }, { -789, 2424, 157 }, { -2257, 2296, 5 }, { -7478, -329, 24 } } function startrace( thePlayer ) local vehicle = getPedOccupiedVehicle( thePlayer ) if vehicle then local x, y, z = unpack( gumballTable[1] ) setElementPosition( thePlayer, 2768, 2455, 14 ) local piste = createMarker( x, y, z, "checkpoint", 10.0, 255, 0, 0, 255 ) if piste then createBlipAttachedTo( piste ) end end end function miss( src, cmd ) local auto = getPedOccupiedVehicle( src ) if auto then outputChatBox( "Kisa Alkakoon!", src, 255, 0, 0 ) else outputChatBox( "Tarvitset Auton!", src, 255, 0, 0 ) end end addCommandHandler( "gumball", miss ) addCommandHandler( "gumball", startrace )