Jump to content

صححوه لي


AL-SAYED

Recommended Posts

function OnplayerWasted ( ) 
local spawnX, spawnY, spawnZ = 1620.6710205078, -1196.1733398438, 53.580947875977        
    spawnPlayer(source, spawnX, spawnY, spawnZ) 
addEventHandler ( "onPlayerWasted", getRootElement(), wasted ) 
end 

اذا اسوي سلاب لروحي ما يصير ري سباون

Link to comment
    function OnplayerWasted ( ) 
    local spawnX, spawnY, spawnZ = 1620.6710205078, -1196.1733398438, 53.580947875977       
        spawnPlayer(source, spawnX, spawnY, spawnZ) 
    addEventHandler ( "onPlayerWasted", getRootElement(), wasted ) 
    end 

اول شي اسم العمليه غير عن الي في ايفينت

و انت حاط الاند بعد الايفينت

    function wasted ( ) 
    local spawnX, spawnY, spawnZ = 1620.6710205078, -1196.1733398438, 53.580947875977       
        spawnPlayer(source, spawnX, spawnY, spawnZ) 
end 
    addEventHandler ( "onPlayerWasted", getRootElement(), wasted ) 

Link to comment
MJNONFIK

انا حاط ان الشخصية تثبت على الشرطي

لكن تروح تتغير الى شخصية عشوائية!

local spawnX, spawnY, spawnZ = 1620.6710205078, -1196.1733398438, 53.580947875977       
  
addEventHandler("onPlayerWasted", root, 
function() 
     local skin = getElementModel(source) or 0 
     spawnPlayer(source, spawnX, spawnY, spawnZ, 0, skin) 
end) 

Link to comment

local spawnX, spawnY, spawnZ = 1620.6710205078, -1196.1733398438, 53.580947875977

addEventHandler("onPlayerWasted", root,

function()

local skin = getElementModel(source) or 0

spawnPlayer(source, spawnX, spawnY, spawnZ, 0, skin)

end)

ابدل ال0 بالشكل الا ابغيه؟

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