addEventHandler ( "onClientResourceStart", resourceRoot,
function ( )
local team = getElementData ( localPlayer, "team" )
if ( not team or not getTeamFromName ( team ) ) then
local Aleatorio = math.random(1,3)
if (Aleatorio == 1) then
setCameraMatrix(2092.01, 1948, 14.051, 2080.36, 1900.86, 16.98)
elseif(Aleatorio == 2) then
setCameraMatrix( -1382.57, 680.96, 84.00, -1639.29, 746.37, 79.68)
elseif(Aleatorio == 3) then
setCameraMatrix(1574.7861328125, -1603.6557617188, 64.496025085449, 1436.1011962891, -1683.4934082031, 13.546875)
end
setTimer ( triggerEvent, 1000, 1, "spawnSystem:setSpawnVisible", localPlayer, true )
end
for _, skin in ipairs ( getValidPedModels ( ) ) do
skinsTable [ skin ] = true
end
end
)