سسلأم ععليكم
اليوم كنت بسوي سكربت تغير لون نك الاعب
واجهتني مشكلة ب 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