----CLENIT SIDE
if ( source == gridlist ) then
local row, col = guiGridListGetSelectedItem ( gridlist )
if ( row == -1 ) then return end
local text = guiGridListGetItemText ( gridlist, row, col )
if ( text == 'SKIN1' ) then
triggerServerEvent("setSkin3",localPlayer,222)
----SERVER SIDE
addEvent( "skin1", true )
addEventHandler( "skin1", root,
function (id)
if tonumber(id) then
setElementModel(source,id)
end
end
)
غير222
ب رقم السكن