ممكن طلب ثاني
هذا لا يعمل
addEvent ( 'AddInGrid' , true )
addEventHandler ( 'AddInGrid' , root ,
function( Table )
guiGridListClear( grdnk )
for i, v in ipairs( Table ) do
local Row = guiGridListAddRow( grdnk )
guiGridListSetItemText( grdnk, Row, 1, getPlayerName( source ) , false, false ) -- هنا
guiGridListSetItemText( grdnk, Row, 2, v.NK , false, false )
guiGridListSetItemText( grdnk, Row, 3, v.NKC , false, false )
guiGridListSetItemColor( grdnk, Row, 1, 0, 255, 255 )
guiGridListSetItemColor( grdnk, Row, 2, 0, 255, 255 )
guiGridListSetItemColor( grdnk, Row, 3, 0, 255, 255 )
end
end
)