Jump to content

طلب كود


Mhmd.z

Recommended Posts

انا مسوي مود لوحة فيها اسماء الاعبين , ابي كود انه لو الاعب ضغط على اسم الاعب الي بالجيرد ليست وبعدها يضغط زر ييجي تيجي علامه على الاعب الي غطت على اسمه

Link to comment

كذه؟

addEventHandler("onClientGUIClick",resourceRoot, function ( ) 
if ( source == button1 ) then 
if ( guiGridListGetSelectedItem(playerList) ~= -1 ) then 
local name = guiGridListGetItemText(playerList,guiGridListGetSelectedItem(playerList),1) 
local myPlayer = getPlayerFromName ( name )  
local myBlip = createBlipAttachedTo ( myPlayer, 52 ) 
end 
end 
end 
) 

Link to comment
كذه؟
addEventHandler("onClientGUIClick",resourceRoot, function ( ) 
if ( source == button1 ) then 
if ( guiGridListGetSelectedItem(playerList) ~= -1 ) then 
local name = guiGridListGetItemText(playerList,guiGridListGetSelectedItem(playerList),1) 
local myPlayer = getPlayerFromName ( name )  
local myBlip = createBlipAttachedTo ( myPlayer, 52 ) 
end 
end 
end 
) 

تبي نجرب لك ونقولك اذا شغال او لا ؟؟

اخوي جرب انت واذا ما اشتغل

اكتب في اف 8

debugscript 3

وعطنا الي طلع لك ..

بالتوفيق

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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