Jump to content

PaiN^

Members
  • Posts

    2,258
  • Joined

  • Last visited

Everything posted by PaiN^

  1. stopSound + لازم توقف عنصر صوت محدد تحت متغير مو موقع ملف
  2. It should be working fine ! check your files, Maybe there buged .
  3. PaiN^

    help !

    You're welcome
  4. PaiN^

    help !

    Is song defined any where in the script ?
  5. PaiN^

    help !

    -- client songOff = false function makeRadioStayOff( ) setRadioChannel( 0 ) cancelEvent( ) end addEventHandler( "onClientGUIClick", guiRoot, function( ) if source == GUIEditor.staticimage[2] then if not songOff then setSoundVolume( song, 0 ) removeEventHandler( "onClientPlayerRadioSwitch", root, makeRadioStayOff ) else setSoundVolume( song, 1 ) setRadioChannel( 0 ) addEventHandler( "onClientPlayerRadioSwitch", root, makeRadioStayOff ) end songOff = not songOff end end )
  6. "onPlayerLogin" executeSQLQuery getPlayerSerial kickPlayer هذي للتحقق يوم يسجل دخول, عاد امنع الأوامر من الأسل وسوي الإضافة لقاعدة البيانات لمن يسجل
  7. if you set the minclientversion on your server config, No onw with any version of the game smaller than the one you chose well enter your server .
  8. see how other windows are created in the script and create your own
  9. SQL إستخدم قاعدة بيانات من الكونسول, عشان تدرك الحسابات ذذ register و إمنع الأمر وسوي لوحة تسجيل يوم تسجل تحفظ الحساب بسيريال اللي سجل
  10. PaiN^

    Minimap Blips

    addEventHandler( "onResourceStart", resourceRoot, function( ) for k,v in ipairs( getElementsByType( "player" ) ) do for K,V in ipairs( getAttachedElements( v ) ) do if getElementType( V ) == "blip" then destroyElement( V ) end end end end ) and just make sure no resource is making any blips on players .
  11. @ bandi94 : You can use it with onPlayerQuit ( as far as i know ) @Adde : I don't see where you're adding the scoreboard column in that code, Post your full code .
  12. عشان تسوي هذا الشي واحد من 3 : 1 - setElementData - getElementData 2 - setElementDimnsion - getElementDimnsion 3 - getPlayerTeam - setPlayerTeam إختار اللي اسهلك وعدل على الفري روم على أساسه يعني خليه يفتح لتيم معين, أو لاعبين في عالم معين أو عندهم داتا معينة
  13. He won't add it to the server that way ! And every one playing must download the custom anim to there GTA first ! I don't think this is a good way to solve jis issue .
  14. الله يعافيك + الخطأ كان إنك كنت تحاول تضيف الأغراض للجريد من وظيفة ما استدعيت + زي ما قال الحجري يحط نص الرو
  15. جرب : GUIEditor = { gridlist = {}, window = {}, button = {} } warptaple = { { "البداية " }, { "الشارع الطويل" }, { "المقر" }, } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(503, 170, 365, 400, "انتقالات", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible ( GUIEditor.window[1], false ) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.gridlist[1] = guiCreateGridList( 9, 22, 347, 306, false, GUIEditor.window[1] ) guiGridListAddColumn( GUIEditor.gridlist[1], "Warp", 0.9 ) guiGridListSetItemText( GUIEditor.gridlist[1], 0, 1, "-", false, false ) for i,v in ipairs( warptaple ) do local row = guiGridListAddRow( GUIEditor.gridlist[1] ) guiGridListSetItemText( GUIEditor.gridlist[1], row, 1, v[1], false, false ) end GUIEditor.button[1] = guiCreateButton(64, 337, 236, 30, "Go ", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(78, 372, 205, 19, "close", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") end ) addEventHandler( "onClientGUIClick", root, function( ) if source == GUIEditor.button[1] then local row, col = guiGridListGetSelectedItem( GUIEditor.gridlist[1] ) if row and col and row ~= -1 and col ~= -1 then local get = guiGridListGetItemText( GUIEditor.gridlist[1], row, col ) if get == "البداية " then triggerServerEvent( "a", localPlayer ) elseif get == "الشارع الطويل" then triggerServerEvent( "b", localPlayer ) elseif get == "المقر" then triggerServerEvent( "c", localPlayer ) end end end end )
  16. ماهو موجود ( GUIEditor.gridlist[1] ) الخلل يقول ان الجريد لست إذا خايف على كودك ارسله خاص
  17. YOU CAN'T ADD ANIMATIONS TO MTA !!!!
  18. وش هو الخطأ جيب النص حقه Bad Argument @ ... زي كذا قصدي
  19. What is "VEHJUMP" ? And i don't think any one would make a resource for free !
  20. PaiN^

    freeroam problem

    We won't read those 1000+ lines of codes trying to find an error
×
×
  • Create New...