Jump to content

Error con team


Xperia

Recommended Posts

Pues tengo eso, el team creado en server-side, y al pasar por la linea aunque seas Army, pues mueres:

function laser(thePlayer) 
    dxDrawLine3D ( 226.80000305176, 1874, 13.39999961853, 226.80000305176, 1870.8000488281, 13.39999961853, tocolor(250,0,0,150) ) 
    detector = processLineOfSight( 226.80000305176, 1874, 13.39999961853, 226.80000305176, 1870.8000488281, 13.39999961853, false, false, true) 
        if getPlayerTeam(thePlayer)~=getTeamFromName("Army") then 
            if detector then 
                createExplosion( 226.80000305176, 1874, 13.39999961853, 6 ) 
            end 
        end  
end 
addEventHandler("onClientRender",getRootElement(),laser) 

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...