Jump to content

طلب تصحيح


Recommended Posts

وين الخطاء ؟؟؟

addEventHandler("onPlayerWasted",getRootElement(), 
function(killer) 
    local ThwarTeam = getPlayerTeam ( killer ) 
    if ThwarTeam then 
    if ( getTeamName ( ThwarTeam ) == "NoTeam"  ) then 
    spawnPlayer ( source, 1971.0981445313,-2159.1594238281,13.546875, 0, 1, 0, 0, Team ) 
    setCameraTarget ( source, source ) 
    end 
    end 
    end 
    ) 

Link to comment

addEventHandler("onPlayerWasted",root, 
function() 
 local ZA7F = getPlayerTeam(source) 
  if ZA7F then 
   if ZA7F == getTeamFromName("NoTeam") then 
  spawnPlayer ( source, 1971.0981445313,-2159.1594238281,13.546875, 0, 1, 0, 0) 
  setCameraTarget ( source, source) 
   end 
  end 
 end 
) 
Link to comment
addEventHandler("onPlayerWasted",root, 
function() 
 local ZA7F = getPlayerTeam(source) 
  if ZA7F then 
   if ZA7F == getTeamFromName("NoTeam") then 
  spawnPlayer ( source, 1971.0981445313,-2159.1594238281,13.546875, 0, 1, 0, 0) 
  setCameraTarget ( source, source) 
   end 
  end 
 end 
) 

قوله الخطأ طيب ذذ.. ع العموم الخطأ هو انه يجيب تيم اللقاتل + لازم تتأكد انه في تيم

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