Jump to content

صفحة طلبآآتي


BeCooL

Recommended Posts

  • Replies 477
  • Created
  • Last Reply

Top Posters In This Topic

  
bab = createVehicle ( 411, -0.77234786748886, 0.1968837082386, 3.1171875 ) 
  
function giveMoney ( vehicle ) 
    if vehicle == bab then 
        if getElementData ( source, "theMarker" ) then 
            destroyElement ( getElementData ( source, "theMarker" ) ) 
            removeElementData ( source, "theMarker" ) 
        end 
        cac = createMarker ( 14.138179779053, 14.694575309753, 2.1171875, "cylinder", 5, 0, 0, 205, 170 ) 
        setElementData ( source, "theMarker", cac ) 
    end 
end 
addEventHandler ( "onPlayerVehicleEnter", root, giveMoney ) 
  

Link to comment
  
bab = createVehicle ( 411, -0.77234786748886, 0.1968837082386, 3.1171875 ) 
  
function giveMoney ( vehicle ) 
    if vehicle == bab then 
        if getElementData ( source, "theMarker" ) then 
            destroyElement ( getElementData ( source, "theMarker" ) ) 
            removeElementData ( source, "theMarker" ) 
        end 
        cac = createMarker ( 14.138179779053, 14.694575309753, 2.1171875, "cylinder", 5, 0, 0, 205, 170 ) 
        setElementData ( source, "theMarker", cac ) 
    end 
end 
addEventHandler ( "onPlayerVehicleEnter", root, giveMoney ) 
  

ضبط بس صار اذا نزل الاعب وركب الماركر مايسوي شي :cry:

Link to comment
اممـ انا اشوف انه ماركر بـ لآ فائدة وش اللي تبيه يصير + وين الإيفنت حقه ؟

والله بحط الكود اللي يصير :lol::lol::lol:

بدون تعليق اوكك :lol:

setTimer(function() 
    bab = createVehicle(411, -0.77234786748886, 0.1968837082386, 3.1171875) 
    outputChatBox("#B22222 automobile has been requsted and placed on your map , get it first !!", root, 255, 255, 255, true) 
    fg = createBlipAttachedTo(bab, 53) 
    blip = createBlip ( 14.138179779053 , 14.694575309753 , 3.1171875 , 51 ) 
    setVehicleDamageProof(bab, true) 
    setElementVisibleTo(blip, root, false) 
    setElementVisibleTo(cc, root, false) 
end, 5000, 1)  
  
  
function giveMoney ( vehicle ) 
    if vehicle == bab then 
        if getElementData ( source, cac ) then 
            destroyElement ( getElementData ( source, cac ) ) 
            removeElementData ( source, cac ) 
        end 
        cac = createMarker ( 14.138179779053, 14.694575309753, 2.1171875, "cylinder", 5, 0, 0, 205, 170 ) 
        blip22 = createBlip ( 14.138179779053 , 14.694575309753 , 3.1171875 , 51 ) 
        setElementData ( source, cac, cac ) 
    end 
end 
addEventHandler ( "onPlayerVehicleEnter", root, giveMoney ) 
  
    function ggg ( hitElement, matchingDimension ) 
        if( source == cac ) then      
            if hitElement and getElementType( hitElement )=="player" then 
                givePlayerMoney ( hitElement, 46000 ) 
                setPedArmor ( hitElement, 60 ) 
                triggerClientEvent( hitElement, "playSoundC", hitElement ) 
                removeEventHandler( "onMarkerHit", root, ggg) 
                destroyElement(bab) 
                destroyElement(cac) 
                destroyElement(blip) 
                destroyElement(fg) 
                mohamad1 = createVehicle(402, 29.196004867554, 18.353984832764, 3.1171875) 
                mohamad3 = createBlipAttachedTo(mohamad1, 53) 
                outputChatBox("#B22222 automobile has been requsted and placed on your map , get it first !!", root, 255, 255, 255, true) 
                setElementVisibleTo(blip2, root, false) 
                setElementVisibleTo(cc, root, false) 
                setVehicleDamageProof(mohamad1, true) 
            end 
        end 
    end 
addEventHandler( "onMarkerHit", root, ggg) 
  
addEventHandler ('onVehicleExit', root, 
  function( ) 
     removeEventHandler( "onMarkerHit", root, ggg) 
  end 
) 
  
function gi(vehicle) 
if vehicle == mohamad1 then 
setPlayerWantedLevel (source, 1) 
mohamad2 = createMarker (25.237403869629, -48.512912750244, 2.1171875, "cylinder", 5, 0, 0, 205, 170) 
blip2 = createBlip ( 25.237403869629 , -48.512912750244 , 2.1171875 , 51 ) 
removeEventHandler("onPlayerVehicleEnter", root, gi) 
id = getElementModel ( theVehicle ) 
 if id == 411 or id == 402 then 
 setElementVisibleTo(blip2, source, true) 
 setElementVisibleTo(mohamad2, source, true) 
        end 
     end 
end 
addEventHandler("onPlayerVehicleEnter", root, gi) 
  
function ghg ( hitElement, matchingDimension ) 
if( source == mohamad2 ) then 
 if hitElement and getElementType( hitElement )=="player" then 
 givePlayerMoney ( hitElement, 60000 ) 
 setPedArmor ( hitElement, 45 ) 
 triggerClientEvent( hitElement, "playSoundC", hitElement ) 
 removeEventHandler("onPlayerVehicleEnter", root, gi) 
 removeEventHandler( "onMarkerHit", root, ghg) 
 destroyElement(mohamad1) 
 destroyElement(mohamad2) 
 destroyElement(blip2) 
 destroyElement(mohamad3) 
        end 
    end 
end 
addEventHandler( "onMarkerHit", root, ghg) 

Link to comment
بي كول استجهل الناس الي زي كذا عشان اذا جادلته راح تكون من مستواه

يعني مثل ما هتلر قال

"لا تجادل الاحمق"

:lol::lol::lol::lol:

طيب ي شباب الكود كامل موجود ابغى حل

Link to comment
بي كول استجهل الناس الي زي كذا عشان اذا جادلته راح تكون من مستواه

يعني مثل ما هتلر قال

"لا تجادل الاحمق"

هههههههههههههههههههههههههههههههه

'تيتي هتلر'

ذاه حروبه كلها بحلاوة مصاص

Link to comment
بي كول استجهل الناس الي زي كذا عشان اذا جادلته راح تكون من مستواه

يعني مثل ما هتلر قال

"لا تجادل الاحمق"

هههههههههههههههههههههههههههههههه

'تيتي هتلر'

ذاه حروبه كلها بحلاوة مصاص

داخخل من الجوال وجاي تطقطق :shock:

Link to comment
-- لم يتم التجربة 
setTimer (  
    function( ) 
        bab = createVehicle ( 411, -0.77234786748886, 0.1968837082386, 3.1171875 ) 
        outputChatBox ( "#B22222 automobile has been requsted and placed on your map , get it first !!", root, 255, 255, 255, true ) 
        fg = createBlipAttachedTo ( bab, 53 ) 
        blip = createBlip ( 14.138179779053 , 14.694575309753 , 3.1171875 , 51 ) 
        setVehicleDamageProof ( bab, true ) 
        setElementVisibleTo ( blip, root, false ) 
        -- setElementVisibleTo ( cc, root, false ) 
    end 
, 5000, 1 )  
  
  
function giveMoney ( vehicle ) 
    theData = "theMarker" 
    if vehicle == bab then 
        if getElementData ( source, theData ) then 
            destroyElement ( getElementData ( source, theData ) ) 
            removeElementData ( source, theData ) 
        end 
        cac = createMarker ( 14.138179779053, 14.694575309753, 2.1171875, "cylinder", 5, 0, 0, 205, 170 ) 
        blip22 = createBlip ( 14.138179779053 , 14.694575309753 , 3.1171875 , 51 ) 
        setElementData ( source, theData, cac ) 
    elseif vehicle == mohamad1 then 
        if getElementData ( source, theData ) then 
            destroyElement ( getElementData ( source, theData ) ) 
            removeElementData ( source, theData ) 
        end  
        setPlayerWantedLevel (source, 1) 
        mohamad2 = createMarker (25.237403869629, -48.512912750244, 2.1171875, "cylinder", 5, 0, 0, 205, 170) 
        blip2 = createBlip ( 25.237403869629 , -48.512912750244 , 2.1171875 , 51 ) 
        setElementData ( source, theData, mohamad2 )     
        id = getElementModel ( theVehicle ) 
        if id == 411 or id == 402 then 
            setElementVisibleTo ( blip2, source, true ) 
            setElementVisibleTo ( mohamad2, source, true ) 
        end 
    end  
end 
addEventHandler ( "onPlayerVehicleEnter", root, giveMoney ) 
  
function ggg ( hitElement ) 
    if hitElement and getElementType ( hitElement ) == "player" then 
        if ( source == cac ) then      
            givePlayerMoney ( hitElement, 46000 ) 
            setPedArmor ( hitElement, 60 ) 
            triggerClientEvent ( hitElement, "playSoundC", hitElement ) 
            -- removeEventHandler ( "onMarkerHit", root, ggg ) 
            destroyElement ( bab ) 
            destroyElement ( cac ) 
            destroyElement ( blip ) 
            destroyElement ( fg ) 
            mohamad1 = createVehicle(402, 29.196004867554, 18.353984832764, 3.1171875) 
            mohamad3 = createBlipAttachedTo(mohamad1, 53) 
            outputChatBox("#B22222 automobile has been requsted and placed on your map , get it first !!", root, 255, 255, 255, true) 
            setElementVisibleTo ( blip2, root, false ) 
            -- setElementVisibleTo(cc, root, false) 
            setVehicleDamageProof ( mohamad1, true ) 
        elseif ( source == mohamad2 ) then 
            givePlayerMoney ( hitElement, 60000 ) 
            setPedArmor ( hitElement, 45 ) 
            triggerClientEvent ( hitElement, "playSoundC", hitElement ) 
            -- removeEventHandler ( "onMarkerHit", root, ggg ) 
            destroyElement ( mohamad1 ) 
            destroyElement ( mohamad2 ) 
            destroyElement ( blip2 ) 
            destroyElement ( mohamad3 ) 
        end 
    end 
end 
addEventHandler ( "onMarkerHit", root, ggg ) 
  

كآن عندكـ . . .

سطر 9 + 42 إضافات غير معرفة !!

سطر 31 رآح تلغي إيفنت عند لمس الماركر !!

Edited by Guest
Link to comment
-- لم يتم التجربة 
setTimer (  
    function( ) 
        bab = createVehicle ( 411, -0.77234786748886, 0.1968837082386, 3.1171875 ) 
        outputChatBox ( "#B22222 automobile has been requsted and placed on your map , get it first !!", root, 255, 255, 255, true ) 
        fg = createBlipAttachedTo ( bab, 53 ) 
        blip = createBlip ( 14.138179779053 , 14.694575309753 , 3.1171875 , 51 ) 
        setVehicleDamageProof ( bab, true ) 
        setElementVisibleTo ( blip, root, false ) 
        -- setElementVisibleTo ( cc, root, false ) 
    end 
, 5000, 1 )  
  
  
function giveMoney ( vehicle ) 
    theData = "theMarker" 
    if vehicle == bab then 
        if getElementData ( source, theData ) then 
            destroyElement ( getElementData ( source, theData ) ) 
            removeElementData ( source, theData ) 
        end 
        cac = createMarker ( 14.138179779053, 14.694575309753, 2.1171875, "cylinder", 5, 0, 0, 205, 170 ) 
        blip22 = createBlip ( 14.138179779053 , 14.694575309753 , 3.1171875 , 51 ) 
        setElementData ( source, theData, cac ) 
    elseif vehicle == mohamad1 then 
        if getElementData ( source, theData ) then 
            destroyElement ( getElementData ( source, theData ) ) 
            removeElementData ( source, theData ) 
        end  
        setPlayerWantedLevel (source, 1) 
        mohamad2 = createMarker (25.237403869629, -48.512912750244, 2.1171875, "cylinder", 5, 0, 0, 205, 170) 
        blip2 = createBlip ( 25.237403869629 , -48.512912750244 , 2.1171875 , 51 ) 
        setElementData ( source, theData, mohamad2 )     
        id = getElementModel ( theVehicle ) 
        if id == 411 or id == 402 then 
            setElementVisibleTo ( blip2, source, true ) 
            setElementVisibleTo ( mohamad2, source, true ) 
        end 
    end  
end 
addEventHandler ( "onPlayerVehicleEnter", root, giveMoney ) 
  
function ggg ( hitElement ) 
    if hitElement and getElementType ( hitElement ) == "player" then 
        if ( source == cac ) then      
            givePlayerMoney ( hitElement, 46000 ) 
            setPedArmor ( hitElement, 60 ) 
            triggerClientEvent ( hitElement, "playSoundC", hitElement ) 
            -- removeEventHandler ( "onMarkerHit", root, ggg ) 
            destroyElement ( bab ) 
            destroyElement ( cac ) 
            destroyElement ( blip ) 
            destroyElement ( fg ) 
            mohamad1 = createVehicle(402, 29.196004867554, 18.353984832764, 3.1171875) 
            mohamad3 = createBlipAttachedTo(mohamad1, 53) 
            outputChatBox("#B22222 automobile has been requsted and placed on your map , get it first !!", root, 255, 255, 255, true) 
            setElementVisibleTo ( blip2, root, false ) 
            -- setElementVisibleTo(cc, root, false) 
            setVehicleDamageProof ( mohamad1, true ) 
        elseif ( source == mohamad2 ) then 
            givePlayerMoney ( hitElement, 60000 ) 
            setPedArmor ( hitElement, 45 ) 
            triggerClientEvent ( hitElement, "playSoundC", hitElement ) 
            -- removeEventHandler ( "onMarkerHit", root, ggg ) 
            destroyElement ( mohamad1 ) 
            destroyElement ( mohamad2 ) 
            destroyElement ( blip2 ) 
            destroyElement ( mohamad3 ) 
        end 
    end 
end 
addEventHandler ( "onMarkerHit", root, ggg ) 
  

كآن عندكـ . . .

سطر 9 + 42 إضافات غير معرفة !!

سطر 31 رآح تلغي إيفنت عند لمس الماركر !!

مشكؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤر

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...