Jump to content

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


Recommended Posts

Posted
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
)

 

Posted
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
)

 

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

Experienced MTA developer for 4 years. | MTA خبرة 4 سنين في برمجة

ليس عليك اسعاد الجميع ,
ولكن عليك بإن لا تؤذي أحداً 

=========
You do not have to make everyone happy,
But you should not hurt anyone

 

Want to contact with me?

 

Discord: JustCarry#2616 (Always there)
Skype: Live:JustCarry10 (Not always)

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

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