function copyright(player)
outputChatBox ("#FF0000FLY#0099FFTurk#990000FreeRoam", getRootElement(), 255, 255, 255, true )
outputChatBox ("#009977İyi Oyunlar Diler...", getRootElement(), 255, 255, 255, true )
end
addEventHandler("onResourceStart", getRootElement(), copyright)
function pajero(source)
local x,y,z = getElementPosition(source)
setPedAnimation (source, "FIGHT_B", "FIGHTB_G", -1, false, false, false, true)
triggerClientEvent( source, "invocar2", source )
setTimer ( function()
local pajaro = createObject(2673, x, y, z)
setElementCollisionsEnabled (pajaro, false)
local pajerito = createVehicle ( 415, x, y, z+80 )
attachElements(pajaro, pajerito,-0.5,0,0.1,0,270,0)
setElementAlpha(pajerito, 0)
warpPedIntoVehicle ( source, pajerito )
setPedAnimation (source, "bikeleap", "bk_blnce_in", -1, false, false, false, true)
triggerClientEvent(source, "Rhypasa", source)
end, 1000, 1 )
end
addCommandHandler("kartal", pajero)
function culiao ()
removeEventHandler ( "onVehicleExplode", root, culiao)
removeEventHandler ( "onPlayerQuit", root, culiao )
removeEventHandler ( "onVehicleExit", root, culiao )
local pajaritos = getAttachedElements ( source )
for i in ipairs ( pajaritos) do
detachElements ( source )
end
end
function asd(source)
triggerClientEvent(source, "Rhypasan", source)
end
addEventHandler("onVehicleExit", root, asd)
function Sair (source)
if (pajerito[source]) and isElement(pajerito[source]) then
destroyElement (pajerito[source])
end
end
addEventHandler ( "onVehicleExit", getRootElement(), Sair )