Jump to content

Naif

Members
  • Posts

    300
  • Joined

  • Last visited

Everything posted by Naif

  1. أمين ويأك .. حيأك الله
  2. شيل الكوماند من الملف الاول وحطه بـ الملف الثأني . مثأل .. File 1 function open ( player ) local accName = getAccountName ( getPlayerAccount ( player ) ) if isObjectInACLGroup ( 'user.'.. accName, aclGetGroup ( nameacl ) ) then triggerClientEvent ( player, 'open', player ) end end File 2 addCommandHandler('Naif',open)
  3. ترأ حتى مثالي صحيح ..
  4. local Veh = { } addCommandHandler('Naif', function ( player ) if ( isElement(Veh[player]) ) then destroyElement(Veh[player]) end local x,y,z = getElementPosition ( player ) Veh[player] = createVehicle(411,x,y,z) warpPedIntoVehicle(player,Veh[player]) end) ^ شوفه وطبقه على الي انت تبي تسويه ..
  5. --- Client addEventHandler('onClientGUIClick',root, function ( ) if ( source == Car ) then triggerServerEvent('Warp',localPlayer) elseif ( source == Car2 ) then triggerServerEvent('Warp2',localPlayer) end end ) -- Server addEvent('Warp',true) addEventHandler('Warp',root, function ( ) if ( isElement(car2) ) then destroyElement(car2) end local x,y,z = getElementPosition ( source ) car2 = createVehicle(id,x,y,z) warpPedIntoVehicle(source,car2) end ) addEvent('Warp2',true) addEventHandler('Warp2',root, function ( ) if ( isElement(car) ) then destroyElement(car) end local x,y,z = getElementPosition ( source ) car = createVehicle(id,x,y,z) warpPedIntoVehicle(source,car) end ) id = الايدي Car = اسم الزر Car2 = اسم الزر جرب ..
  6. اطرح الكلنت والسيرفر كأمل مخي آنلحس .
  7. اذا انت مسوي نفس الكود الي قبل غير المتغير حق السيأرة ..
  8. العفو حيأك الله , اذا تبي تصحيح وكذا خلك بـ موضوع واحد لاهنت
  9. -- Client addEventHandler("onClientGUIClick",root, function () if source == StarTech then triggerServerEvent ( "warp", localPlayer) end end ) -- Server addEvent('warp',true) addEventHandler('warp',root, function ( ) if ( isElement(theVehicle) ) then destroyElement(theVehicle) end local x,y,z = getElementPosition ( source ) theVehicle = createVehicle(405,x,y,z) warpPedIntoVehicle(source,theVehicle) end)
  10. # طلبك executeSQLQuery getElementPosition setElementPosition getPlayerSerial Event : 'onPlayerJoin' Event : 'onPlayerQuit'
  11. # إطرح سكأإيبكك .. # + وششَ بيكوننَ نوعَ سسَيرفَركك ~ هجولة ولا ألخخ ..
  12. window = true addEventHandler("onClientGUIClick", root, function () if source == winred then if ( window == true ) then guiSetVisible(mineu,true) window = false else guiSetVisible(mineu , false) window = true end end end ) جرب ..
  13. ^ ماهو متكبر ولا ششَيء . وهو قأل الصحيح كيف يستخدم split و مايعرف يسوي الفكرة .
  14. مم آتوقع تسوي dxDrawImage + الترآيقر ليه حأط source ؟ بدلهأ بـ localPlayer
  15. بـ الكلنت مافيه ارقمونت الاعب بـ الماتركس .
  16. لا خطأ الترايقر حقه هو حأط localPlayer و localPlayer = Client Side
  17. -- Client List = { { 'skin',41}, { 'skin2',45 }, { 'skin3',54}, { 'skin4',91 }, } for i, c in ipairs ( List ) do local aRow = guiGridListAddRow ( GridList[1] ) guiGridListSetItemText ( GridList[1], aRow, 1, ''..i..'', false, false ) guiGridListSetItemText ( GridList[1], aRow, 2, c[1], false, false ) guiGridListSetItemData ( GridList[1], aRow,1,c[2] ) guiGridListSetItemColor(GridList[1], aRow, 2, 255, 255, 0, 255) guiGridListSetItemColor(GridList[1], aRow, 1, 0, 255, 255, 255) end addEventHandler('onClientGUIClick',root, function ( ) if ( source == GridList[1] ) then if ( guiGridListGetSelectedItem ( GridList[1] ) ~= -1 ) then triggerServerEvent('onSkinAdd',localPlayer,guiGridListGetItemData(GridList[1],guiGridListGetSelectedItem(GridList[1]),1)) end end end ) -- Server addEvent('onSkinAdd',true) addEventHandler('onSkinAdd',root, function ( id ) setElementModel(client,id) end)
  18. غير setPedSkin الى setElementModel
×
×
  • Create New...