Jump to content

- | مسسسأعدةه | -


Recommended Posts

Blip [ player ] = createBlipAttachTo (player, 41 )
 هاض سطر ممكن حدا يحكيلي ليش في خطا يعطيني كلمه nil 
ثاني شي كيف اخلي فقط الاشاره تظهر للاعب مش لكل لاعبين ويكون لها وقت يعني 10 ثواني وتختفي 




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 ] = createBlipAttachTo (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
)

 

Link to comment
3 hours ago, #NaMrOo'D said:

Blip [ player ] = createBlipAttachTo (player, 41 )
 هاض سطر ممكن حدا يحكيلي ليش في خطا يعطيني كلمه nil 
ثاني شي كيف اخلي فقط الاشاره تظهر للاعب مش لكل لاعبين ويكون لها وقت يعني 10 ثواني وتختفي 




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 ] = createBlipAttachTo (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
)

 

اتوقع عطيناك الحل في الموضوع السابق لاتكرر تفتح مواضيع -.-

Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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