Jump to content

طلب كود


yazan

Recommended Posts

Posted (edited)

تم الفاده من اسامة و مشكور الم على تعون

لكن يشتغل على مجاني بس

الميتا ما لها دخل لنه يضهر بلوحه لكن ما في اي اومر تسير

Edited by Guest
  • Replies 54
  • Created
  • Last Reply

Top Posters In This Topic

Posted

اخوي هذى ما يصلح ارجو انك تستفيد من اكود و تعملي كود يكون فيه الاسم و اليملي و رقم بطاقه اذا ممكن

Posted

ي ولد وشبهم الناس يبون شي جاهز

كلكم تبون اكواد جاهزه =\

وين التعليم ؟

=======

وانت اذا تبي مثل مود عناد اللي في طاره كان سابقا , المختلف الخلفيهه بس والكلام

=======

Posted

اول شي يا تدمير انت ما طلبت كودات و لو سمحت بيني و بينك في مشاكل لا تكلمني اسامة تقريبن مثله

اسامة انا اردني :D

Posted

^ حيآكـ الله من وين مآ كنت , كلنآ عرب = )

# المود الي عطيتكـ يآهـ فيه الأيميل + اسم الموضوع + الرسسآلةة

و لو تبي تضيف رقم البطآقة

سوي خانة جديدة وطبق عليها مثل ماهو مسويه على خآنة الأيميل الأيميل

+ أنا مقدر اسسويلككـ المود كآمل , أنت سوي الي قلته لكـ وإذا واجهت مششكلةة بكود أطرحهةة هنآ , #

Posted

اخوي اسامه خلك من ذا المود تم عمله لكنه ما يرسل المهم ودي كود احطه لسياره معينه تكون ضهره في الخريطه يعني تكبس اف 11 تكون علمه عليها ارجو كود

Posted
اخوي اسامه خلك من ذا المود تم عمله لكنه ما يرسل المهم ودي كود احطه لسياره معينه تكون ضهره في الخريطه يعني تكبس اف 11 تكون علمه عليها ارجو كود
attachElements 
createBlipAttachedTo 

Posted
اخوي اسامه خلك من ذا المود تم عمله لكنه ما يرسل المهم ودي كود احطه لسياره معينه تكون ضهره في الخريطه يعني تكبس اف 11 تكون علمه عليها ارجو كود
attachElements 
createBlipAttachedTo 

attachElements ما يحتاج تستخدم

createBlipAttachedTo تكفي , #

Posted

كذا صح ؟؟

function theBlib ( player )  
    local Veh = getPedOccupiedVehicle ( player ) 
    if ( getElementType ( player ) == "player" ) then  
        if Veh then 
            createBlipAttachedTo ( Veh, 55 ) 
        else 
            outputChatBox( "", player, 0, 0, 0, false ) 
        end 
    end 
end 
addCommandHandler( "setBlib", theBlib ) 

Posted

-- Server Side !

function theBlib ( player ) 
    local Veh = getPedOccupiedVehicle ( player ) 
    if ( getElementType ( player ) == "player" ) then 
        if Veh then 
            createBlipAttachedTo ( Veh, 55 ) 
        else 
            outputChatBox( "", player, 0, 0, 0, false ) 
        end 
    end 
end 
addCommandHandler( "setBlib", theBlib ) 

Edit : @ Mr.ALM , أنت شكلكـ عدلت ردكـ لأنه لما رديت عليكـ كنت كآتب ذي

createBlipAttachedTo

كذا

createBlibAtachedTo

شكلك عدلتها ذذ , مَ عليه اهم شي انه صحيح #

Posted

^ الكود الي فوق خاص بمسستر ألم

انت الكود الي تبيه قلناهـ لكـ

وإذا ما تعرف تستخدمه

قول لأي سيارة تبيها تجي الإشارة واسسويهةة لككـ .. #

Posted

اخوي هسا بعطيك كود كلنت و له سياره خاصه

addCommandHandler ( "car",

function ( thePlayer, cmd )

x, y, z = getElementPosition ( thePlayer )

theVehicle = createVehicle ( 404, x, y + 3, z )

end

)

addEventHandler ( "onVehicleStartEnter", root,

function ( thePlayer, theSeat )

if source == theVehicle then

if ( theSeat == 0 ) and ( getPlayerSerial ( thePlayer ) ~= "BAEE69A296DB2EDECC91449721FC56A1" ) then

cancelEvent ( )

outputChatBox ( "* ~][ سياره خاصه ب يـز ـن ][~", thePlayer, 255, 255, 0, true )

else

outputChatBox ( "* ~][ مرحبا بيك يا يزن في سيارت الخاصه ][~", thePlayer, 255, 0, 0, true )

setVehicleDamageProof(theVehicle, true)

end

end

end

)

هذى كود سياره خاصه ودي بس لسياره الخاصه مارك سياره و لون يتغير

Posted

لووول ما انتبهت انه يبغاها لسيارة محددة, بس أظن راح يصير الكود كذا

ID =  
  
addCommandHandler( "setBlip", 
    function theBlip ( player ) 
        local Veh = getPedOccupiedVehicle ( player ) 
        if ( getElementType ( player ) == "player" ) and ( getElementModel ( Veh ) == ID ) then 
                createBlipAttachedTo ( Veh, 55 ) 
        else 
                outputChatBox( "", player, 0, 0, 0, false ) 
             
        end 
    end 
) 

Posted
اخوي هسا بعطيك كود كلنت و له سياره خاصه

addCommandHandler ( "car",

function ( thePlayer, cmd )

x, y, z = getElementPosition ( thePlayer )

theVehicle = createVehicle ( 404, x, y + 3, z )

end

)

addEventHandler ( "onVehicleStartEnter", root,

function ( thePlayer, theSeat )

if source == theVehicle then

if ( theSeat == 0 ) and ( getPlayerSerial ( thePlayer ) ~= "BAEE69A296DB2EDECC91449721FC56A1" ) then

cancelEvent ( )

outputChatBox ( "* ~][ سياره خاصه ب يـز ـن ][~", thePlayer, 255, 255, 0, true )

else

outputChatBox ( "* ~][ مرحبا بيك يا يزن في سيارت الخاصه ][~", thePlayer, 255, 0, 0, true )

setVehicleDamageProof(theVehicle, true)

end

end

end

)

هذى كود سياره خاصه ودي بس لسياره الخاصه مارك سياره و لون يتغير

viewtopic.php?f=119&t=46670

Posted

أتوقع إنه كذا طلبك

Veh = getPedOccupiedVehicle ( player ) 
  
addEventHandler( "onVehicleStartEnter", root, 
    function ( player, seat ) 
        if ( getElementType ( Player ) == "player" ) and ( Seat == 0 ) then 
            if( getPlayerSerial ( player ) ~= "BAEE69A296DB2EDECC91449721FC56A1" ) then 
                if ( Veh == 404 ) then 
                    cancelEvent ( )  
                    outputChatBox ( "* ~][ سياره خاصه ب يـز ـن ][~", player, 255, 255, 0, true ) 
                else 
                    outputChatBox( "", player, 0, 0, 0, false ) 
                end 
            else 
                outputChatBox ( "* ~][ مرحبا بيك يا يزن في سيارت الخاصه ][~", player, 255, 0, 0, true ) 
                setVehicleDamageProof(theVehicle, true) 
            end 
        end 
    end 
)   

Posted

-- Server Side !

addCommandHandler ( "car", 
    function ( thePlayer, cmd ) 
        x, y, z = getElementPosition ( thePlayer ) 
        theVehicle = createVehicle ( 404, x, y + 3, z ) 
        createBlipAttachedTo ( theVehicle, 55 ) 
    end 
) 
  
addEventHandler ( "onVehicleStartEnter", root, 
    function ( thePlayer, theSeat ) 
        if source == theVehicle then 
            if ( theSeat == 0 ) and ( getPlayerSerial ( thePlayer ) ~= "BAEE69A296DB2EDECC91449721FC56A1" ) then 
                cancelEvent ( ) 
                outputChatBox ( "* ~][ سياره خاصه ب يـز ـن ][~", thePlayer, 255, 255, 0, true ) 
            else 
                outputChatBox ( "* ~][ مرحبا بيك يا يزن في سيارت الخاصه ][~", thePlayer, 255, 0, 0, true ) 
                setVehicleDamageProof(theVehicle, true) 
            end 
        end 
    end 
) 

ملآحظةة : أنا دمجت لكـ كود إشارة السيارة مع كود السسيأإرةة الخآإصصةة .. #

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...