Jump to content

أصلأح كود - تغيير لون اسم الاعب ,


Recommended Posts

سسلأم ععليكم

اليوم كنت بسوي سكربت تغير لون نك الاعب

واجهتني مشكلة ب setPlayerNametagColor ..

Client :

addEventHandler("onClientGUIClick",root, function ( ) 
if source == change then 
    sss = guiGridListGetSelectedItem(gridlist) 
    r,g,b = guiGridListGetItemData(gridlist,sss,1) 
triggerServerEvent("onColor",localPlayer, r,g,b) 
end 
 end) 

Server :

addEvent("onColor",true) 
addEventHandler("onColor",root, function (r,g,b) 
setPlayerNametagColor(source,r,g,b) 
end) 

يجي باد ارقمنت في setPlayerNametagColor

Edited by Guest
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...