Jump to content

طلب تصحيح


BadBoy

Recommended Posts

انا ماشوف فيه اي غلط لاكن ماضبط لو مات شخص ,,

يستوي له سباون ,,

بعد 3 ثواني ,,

addEventHandler("onPlayerWasted",root, 
function() 
setTimer (  
function() 
spawnPlayer(source,2027.8942871094,-1420.7333984375,16.9921875,0,0,0,0,nil) 
setCameraTarget(source,source) 
end,3000,1) 
end 
) 
Link to comment
addEventHandler ( "onPlayerWasted", root, function (  ) 
setTimer ( spawnPlayer, 3000, 1, source, 2027.8942871094, -1420.7333984375, 16.9921875, 0, 0, 0, 0, nil )  
setTimer ( setCameraTarget, 3000, 1, source, source ) 
setTimer ( fadeCamera, 3000, 1, source, true ) 
end 
) 

Edited by Guest
Link to comment
addEventHandler ( "onPlayerWasted", root, function (  ) 
setTimer ( spawnPlayer, 3000, 1, source, 2027.8942871094, -1420.7333984375, 16.9921875, 0, 0, 0, 0, nil )  
setTimer ( setCameraTarget, 3000, 1 source, source ) 
setTimer ( fadeCamera, 3000, source, true ) 
end 
) 

WARNING: Loading script failed : server.lua:67 expected near 'source'

Link to comment
addEventHandler ( "onPlayerWasted", root, function (  ) 
setTimer ( spawnPlayer, 3000, 1, source, 2027.8942871094, -1420.7333984375, 16.9921875, 0, 0, 0, 0, nil )  
setTimer ( setCameraTarget, 3000, 1 source, source ) 
setTimer ( fadeCamera, 3000, source, true ) 
end 
) 

خلاص تم حل المشكلة مشكور + يصير كذا,,

ناقصه فواصل ,,

setTimer ( spawnPlayer, 3000, 1, source, 2027.8942871094, -1420.7333984375, 16.9921875, 0, 0, 0, 0, nil ) 
setTimer ( setCameraTarget, 3000, 1, source, source ) 
setTimer ( fadeCamera, 3000,1, source, true  

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