SoMoRay Posted June 14, 2013 Author Posted June 14, 2013 function onStart ( ) local s,x = guiGetScreenSize () local sx, sy, sz = getWorldFromScreenPosition ( s/2, x/2, 5 ) ped = createPed ( 0, sx, sy, sz,180 ) setElementFrozen ( ped,true ) setCameraMatrix ( 1468.8785400391, -919.25317382813, 100.153465271, 1468.388671875, -918.42474365234, 99.881813049316 ) outputChatBox ( '* Welcome At Our Servers Have Fun!',0,255,0 ) end onStart ( ) aSkins = { { 'CJ',0 }, { 'KSA',46 }, { 'Test',1 } } for _,v in ipairs ( aSkins ) do row = guiGridListAddRow ( GridList ) guiGridListSetItemText ( GridList,row,Column,v[1],false,false ) guiGridListSetItemData ( GridList,row,Column,v[2] ) end addEventHandler('onClientGUIClick',GridList, function ( ) if guiGridListGetSelectedItem ( GridList ) ~= -1 then setElementModel ( ped,guiGridListGetItemData ( GridList,guiGridListGetSelectedItem ( GridList ), Column ) ) end end,false ) سويت لك هالكود كملة كلنت بس انت سوي اللستة بـ متغير GridList > ذذ وجربة وشوف الشخصيات مايحطها في القريد لست GridList = guiCreateGridList(9, 32, 264, 337, false, wnd)
iPrestege Posted June 14, 2013 Posted June 14, 2013 وين الكولمون ؟ ضيفة تحت القريد ليست : Column = guiGridListAddColumn ( GridList,'Skin IDs',1 );
SoMoRay Posted June 14, 2013 Author Posted June 14, 2013 وين الكولمون ؟ ضيفة تحت القريد ليست : Column = guiGridListAddColumn ( GridList,'Skin IDs',1 ); موجود نسيت اطرح + جربت الكولمون مالك مانحطو بعد
SoMoRay Posted June 14, 2013 Author Posted June 14, 2013 (edited) اطرح الكود كامل Delet Edited June 14, 2013 by Guest
SoMoRay Posted June 14, 2013 Author Posted June 14, 2013 مع كودي و استخدمdebugscript 3 وقلي وش يقول خلاص حليتها تسلم ماتقصر !
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now