Jump to content

مشكلة بالسباون الرجاء المساعدة


Recommended Posts

addEventHandler("onPlayerWasted",getRootElement(), 
    function ( ) 
        if ( getElementData ( source , "Group" ) == "...." ) then  
           setTimer(spawnPlayer 1000,1,source,1264.2177734375, -785.30816650391, 1091.90625,0,0,5 ,2,_ ) 
            setTimer(setCameraTarget,1350,1,source,source) 
            setTimer(fadeCamera,2300,1, source,true) 
        end 
    end 
) 
function giveArmor ( ) 
      setPedArmor ( source, 100 ) 
end 
addEventHandler("onPlayerWasted", getRootElement(), giveArmor) 

هاذا الكود الي انا مسويه

Link to comment

addEventHandler("onPlayerWasted",root, 
    function ( ) 
        if (getElementData ( source , "Group" ) == "...." ) then 
           setTimer(spawnPlayer,1000,1,source,1264.2177734375, -785.30816650391, 1091.90625,0,0,5 ,2,_ ) 
            setTimer(setCameraTarget,1350,1,source,source) 
            setTimer(fadeCamera,2300,1, source,true) 
        end 
    end 
) 
  
addEventHandler("onPlayerWasted",root 
function() 
      setPedArmor ( source, 100 ) 
    end 
) 
Edited by Guest
Link to comment

كودك الي طرحت يكون كذا جرب :

addEventHandler("onPlayerWasted",getRootElement(), 
    function ( ) 
        if ( getElementData ( source , "Group" ) == "SWAT" ) then 
            setTimer(spawnPlayer,1500, 1, source,2233.3 , 1090.1 , 40.7) 
            setTimer(setCameraTarget,1350,1,source,source) 
            setTimer(fadeCamera,2300,1, source,true) 
        end 
    end 
) 

هاذا كود اخوي حسن ظآبط 100%

بس المشكلة ماجاني درع ولما احط Dimension-Interior

مايشتغل الكود + وآلدرع ماجاني -_-

Link to comment
اخوي جربت كودك

بس طلعت بالمشفى : (

مفروض اطلع بالسباون الي محدده عشاني بجروب,, والي مو بجروب يطلع بالمشفى

متأكد انك مغير .... لأسم الفريق؟

يب والله

Link to comment

وليه ما تخليها بكود واحد كلها ؟

addEventHandler("onPlayerWasted",root, 
    function ( ) 
        if ( getElementData ( source , "Group" ) == "SWAT" ) then 
            setTimer(spawnPlayer,1500, 1, source,2233.3 , 1090.1 , 40.7,0,0,5,2) 
            setTimer(setCameraTarget,1350,1,source,source) 
            setTimer(fadeCamera,2300,1, source,true) 
            setPedArmor ( source, 100 ) 
        end 
    end 
) 
Link to comment
وليه ما تخليها بكود واحد كلها ؟

addEventHandler("onPlayerWasted",root, 
    function ( ) 
        if ( getElementData ( source , "Group" ) == "SWAT" ) then 
            setTimer(spawnPlayer,1500, 1, source,2233.3 , 1090.1 , 40.7,0,0,5,2) 
            setTimer(setCameraTarget,1350,1,source,source) 
            setTimer(fadeCamera,2300,1, source,true) 
            setPedArmor ( source, 100 ) 
        end 
    end 
) 

اوك بجرب الكود هذا :]

Link to comment
وليه ما تخليها بكود واحد كلها ؟

addEventHandler("onPlayerWasted",root, 
    function ( ) 
        if ( getElementData ( source , "Group" ) == "SWAT" ) then 
            setTimer(spawnPlayer,1500, 1, source,2233.3 , 1090.1 , 40.7,0,0,5,2) 
            setTimer(setCameraTarget,1350,1,source,source) 
            setTimer(fadeCamera,2300,1, source,true) 
            setPedArmor ( source, 100 ) 
        end 
    end 
) 

كفووو والله الحين انتقلت للمكان الي انا فيه بسس ماجا لي درع ليه ؟؟ : (

+

اقدر اخلي الللبس مايتغير؟ : (

Link to comment
addEventHandler("onPlayerWasted", root, 
    function() 
        if getElementData(source, "Group") == "SWAT" then 
            setTimer(function(source) 
                spawnPlayer(source, 2233.3, 1090.1, 40.7, 0, getElementModel(source), 5, 2) 
                setPedArmor(source, 100) 
                setCameraTarget(source) 
                fadeCamera(source, true) 
            end, 1500, 1, source) 
        end 
    end 
) 

Link to comment
addEventHandler("onPlayerWasted", root, 
    function() 
        if getElementData(source, "Group") == "SWAT" then 
            setTimer(function(source) 
                spawnPlayer(source, 2233.3, 1090.1, 40.7, 0, getElementModel(source), 5, 2) 
                setPedArmor(source, 100) 
                setCameraTarget(source) 
                fadeCamera(source, true) 
            end, 1500, 1, source) 
        end 
    end 
) 

كفووووووو الله يوفقكم وربي شنبات ^^

ظبط 100%

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