-
Posts
2,936 -
Joined
-
Last visited
-
Days Won
44
Everything posted by ^iiEcoo'x_)
-
addEventHandler ("onClientGUIClick",root, function () if source == Button then -- زر دخول المهمة triggerServerEvent ("JoinJob",localPlayer) end end ) local Table = { } addEvent ("JoinJob",true) addEventHandler ("JoinJob",root, function () setElementModel ( source , 3 ) -- اي دي الشخصية table.insert ( Table , source ) outputChatBox ( " اذهب الى العلامة للدخول المهمة " , source ) local Car[source] = createVehicle( 543 , x , y , z) warpPedIntoVehicle(source,Car[source] ) local Marker[source] = createMarker ( x , y , z , "cylinder" , 2 , 255 , 0 , 255 , 255 , source ) local Blip[source] = createBlipAttachedTo ( Marker[source] , 20 ) setElementVisibleTo ( Blip[source] , root , false ) setElementVisibleTo ( Blip[source] , source , false ) end ) addEventHandler ("onMarkerHit",root, function (player) if getElementType(player) == "vehicle" and isPedInVehicle (player) then if source == Marker[source] then givePlayerMoney ( player , 2000 ) destroyElement ( Car[source] ) destroyElement ( Blip[source] ) destroyElement ( Marker[source] ) outputChatBox (" لقد انهيت المهمة وربحت 2000 " , player ) table.remove ( Table , player ) end end end ) سويت لك الكود كامل , جربه
-
(͡° ͜ʖ ͡°)
-
@!#NssoR_) القسم خطأ صديقي
-
@#BrosS هات فيديوهات مثل ايه الحلاوة دي
-
VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
-
ولا فاهم اشي من الي طلبه , روح اقرا الموضوع كويس , وتعال اتفلسف
-
ههههههههههههههههههه اخيرا !
-
'onClientMarkerHit' addEventHandler 'onClientMarkerLeave' removeEventHandler
-
الكتابة يسوي مود الكلام فوق الراس
-
Hello , I Want Create Medic Job , What The Error In Code ? local Table = { }; local CI = 543 addEvent ("job",true) addEventHandler ("job",root, function () table.insert ( source , Table ) local Car[source] = createVechial ( CI , x , y , z ) warpPedIntoVechial ( player , Car[source] ) local Marker1[source] = createMarker ( x , y , z , "cylinder" , 2 , 255 , 0 , 0 , source ) setElementData ( Car[source] , "private" , true ) local Ped[source] = createPed ( 99 , x , y , z ) setElementVisibleTo ( Ped[source] , root, false ) setElementVisibleTo ( Ped[source] , source , true ) end ) addEventHandler ("onMarkerHit",root, function (player) if getElementType ( player ) == "player" and not isPedInVechial ( player ) then if source == Marker1[source] then Time = setTimer (function() setPedAnimation ( player .... etc ) end , 30000 , 1 ) destroyElement ( Marker1[source] ) destroyElement ( Ped[source] ) killTimer ( Time ) local Marker2[source] = createMarker ( x , y , z , "cylinder" , 2 , 255 , 0 , 0 , 250 , player ) local Ped2[source] = createPed ( 99 , x , y , z ) createBlipAttachedTo ( 30 , Marker2[source] ) setElementVisibleTo ( Ped2[source] , root, false ) setElementVisibleTo ( Ped2[source] , source , true ) elseif source == Marker2[source] then Time2 = setTimer (function() setPedAnimation ( player .... etc ) end , 30000 , 1 ) destroyElement ( Marker2[source] ) destroyElement ( Ped2[source] ) killTimer ( Time2 ) givePlayerMoney ( player , 2500 ) table.remove ( player , Table ); end end )
-
onPlayerWasted المثال جاهز بالويكي
-
Thanks , The Best Programmer
-
من الاردن
-
الغلط كله ي الطيب من setPlayerHealth ? صاحب الموضوعجرب ردي فوق
-
@Master_MTA function setplus10(player,text) if isElement(player)then if text then if text == "Health" then local plhel=getElementHealth(player) if plhel >= 100 then outputChatBox('Your Health is 100',player) return end setElementHealth(player,plhel+10) elseif text == "Armor" then local plrarm=getPedArmor(player) if plrarm >= 100 then outputChatBox('Your Armor is 100',player) return end setPedArmor(player,plrarm+10) end end else outputChatBox('Type at argument 1 got nil',player) end else outputChatBox('Player at argument 1 got nil',player) end addEvent('ss',true)-----------------هذا دم addEventHandler('ss',root,function() setplus10(source,"Health") end) addEvent('s1',true)----------------هذا يعطي درع addEventHandler('s1',root,function() setplus10(source,"Armor") end)
