Alguem Pode Me Ajudar ?
function AirNewQuit (source)
if (veh[source]) and isElement(veh[source]) then
setElementVisibleTo ( AirNew77744, source, false )
destroyElement (veh[source])
outputChatBox ("#ffffff[ #FFA136Trabalho #ffffff] - #FFFFFFVoce Saiu Do Veiculo E Perdeu O Emprego", source ,0,0,0,true)
else
end
end
addEventHandler ( "onVehicleExit", getRootElement(), AirNewQuit ) --- Quando O Jogador Sai Do Veiculo ( Funcionando )
addEventHandler ( "onPlayerWasted", getRootElement(), AirNewQuit ) --- Quando O Jogador Morre ( Nao Funciona )
addEventHandler ( "onPlayerQuit", getRootElement(), AirNewQuit ) --- Quando O Jogador Quita Do Servidor ( Nao Funciona )
Queria Saber Porque As Duas Ultimas Linhas Nao Funcionam, Se Alguem Puder Me Ajudar Ficaria AGRADECIDO.