Mohamed Posted November 18, 2014 Share Posted November 18, 2014 شو الخطاء هون addEvent ("SkinSpawn", true) addEventHandler ("SkinSpawn", root, function(skinID) if (getPlayerSkin (source) >= tonumber(skinID)) then setPlayerSkin(source, tonumber (skinID)) end end) Link to comment
jafar Posted November 18, 2014 Share Posted November 18, 2014 استخدم setElementModel + getElementModel Link to comment
#DRAGON!FIRE Posted November 18, 2014 Share Posted November 18, 2014 addEvent ( "SkinSpawn", true ) addEventHandler ( "SkinSpawn", root, function ( skinID ) if ( getElementModel ( source ) >= tonumber ( skinID ) ) then setElementModel ( source, tonumber (skinID) ) end end ) Link to comment
Mohamed Posted November 18, 2014 Author Share Posted November 18, 2014 نفس الشي ما ضبط Link to comment
Mohamed Posted November 18, 2014 Author Share Posted November 18, 2014 يمكن الخطاء هون local Skingroup = { { "15", "skin/da.jpg",15}, } for k,v in ipairs ( Skingroup ) do local row = guiGridListAddRow ( GUIEditor.gridlist[1] ) guiGridListSetItemText ( GUIEditor.gridlist[1], row, 1, v[1],false, false ) guiGridListSetItemData ( GUIEditor.gridlist[1], row, 1, tostring ( v[2] ) ) guiGridListSetItemText ( GUIEditor.gridlist[1], row, 2,v[3],false, false,true) end Link to comment
abu5lf Posted November 19, 2014 Share Posted November 19, 2014 نفس الشي ما ضبط انت وش تبي من الكود بالضبط Link to comment
*[MSN]MHMD Posted November 30, 2014 Share Posted November 30, 2014 يا عم اطرح الكود كامل وقول وش طالب منه يسوي ونحنا نفحصه لك واذا خطا نعدله لك مو كل كم دقيقة تطرح كلمتين من الكود مو سراقين كودات احنا أستغفر الله بس Link to comment
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