ي شباب بس مساعده بانوو كيف بدي اخلي الاشاره تروح بعد 15 ثانيه مثلا , وحل مشكله اخر سطر يرحم والديكم #
Blip = {}
addEvent (
'AttachTheBlip', true )
addEventHandler (
'AttachTheBlip', root,
function ( xPlayer )
if xPlayer then
local player = getPlayerFromName ( xPlayer )
if player then
if Blip [ player ] and isElement ( Blip [ player ] ) then return
end
Blip [ player ] = createBlipAttachedTo ( player, 41 )
end
end
end
)
addEventHandler ( 'onPlayerQuit', root,
function ()
if Blip [ source ] and isElement ( Blip [ source ] ) then
destoryElement ( Blip [ source ] )
Blip [ source ] = nil
end
end
)