-
Posts
300 -
Joined
-
Last visited
Everything posted by Naif
-
شيل الكوماند من الملف الاول وحطه بـ الملف الثأني . مثأل .. 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)
-
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) ^ شوفه وطبقه على الي انت تبي تسويه ..
-
--- 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 = اسم الزر جرب ..
-
اطرح الكلنت والسيرفر كأمل مخي آنلحس .
-
اذا انت مسوي نفس الكود الي قبل غير المتغير حق السيأرة ..
-
العفو حيأك الله , اذا تبي تصحيح وكذا خلك بـ موضوع واحد لاهنت
-
-- 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)
-
@z24d # حيـإأكك ألله ..
-
# طلبك executeSQLQuery getElementPosition setElementPosition getPlayerSerial Event : 'onPlayerJoin' Event : 'onPlayerQuit'
-
# إطرح سكأإيبكك .. # + وششَ بيكوننَ نوعَ سسَيرفَركك ~ هجولة ولا ألخخ ..
-
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 ) جرب ..
-
^ ماهو متكبر ولا ششَيء . وهو قأل الصحيح كيف يستخدم split و مايعرف يسوي الفكرة .
-
مم آتوقع تسوي dxDrawImage + الترآيقر ليه حأط source ؟ بدلهأ بـ localPlayer
-
بـ الكلنت مافيه ارقمونت الاعب بـ الماتركس .
-
لا خطأ الترايقر حقه هو حأط localPlayer و localPlayer = Client Side
-
-- 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)
-
غير setPedSkin الى setElementModel
