Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. https://wiki.multitheftauto.com/wiki/KickPlayer
  2. i guess you use it client side, and these functions is server side.
  3. ذا موجود بلوحة الأدمنية
  4. You copying the wiki syntax it's already won't work because it's Client-only function and your script is server side, you need trigger and much work. i don't understand why you have huge spaces in your code when i saw your code i was think to not read it because of the huge spaces. in future please try to remove these spaces that does not have any benefit.
  5. أكوادك لحسه يعني ذا الـ 18 سطر كله ممكن يكون في 5 أسطر bindKey ( "F2" , "down" , function() if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then guiSetVisible ( thewindow ,false ) showCursor (true ) guiSetInputEnabled(false) elseif ( guiGetVisible ( GUIEditor_Window[1] ) == false ) then guiSetVisible ( GUIEditor_Window[1] ,true ) guiSetInputEnabled(true) end end ) كله بـ 5 أسطر فقط bindKey("F2", "down", function() guiSetVisible(GUIEditor_Window[1], not guiGetVisible(GUIEditor_Window[1])) showCursor(guiGetVisible(GUIEditor_Window[1])) guiSetInputEnabled(guiGetVisible(GUIEditor_Window[1])) end)
  6. TAPL

    طلب

    addEventHandler("onClientGUIClick",root, function() if source == theButton then -- theButton أسم الزر أو المربع executeCommandHandler("الأمر هنا") end end )
  7. كل أجنبي صار أمريكي بنظرك؟ ويا عزيزي نظام الرسائل الخاصة ليه مخترعينه؟ يغلق
  8. https://wiki.multitheftauto.com/wiki/GuiBringToFront أو https://wiki.multitheftauto.com/wiki/GuiMoveToBack
  9. i guess you put it client side in meta, it's server side not client side. And: remove this Casual Jeanjacket function pedLoad ( Casual Jeanjacket ) to be function pedLoad ()
  10. TAPL

    need help

    function reateswatrope(player) addCommandHandler("machine", createswatrope)
  11. لا تفتح 96093489503485948598244923492352394329 موضوع لنفس الطلب viewtopic.php?f=119&t=46371 viewtopic.php?f=119&t=46357&start=15
  12. Yeah, and i said that setElementVisibleTo is Server Side function.
  13. What?
  14. huh? i test it and working. show your meta.xml
  15. You didn't fix this one
  16. lol this local VehMarker createMarker ( 2158, 2449, 11, "cylinder", 2, 0, 0, 255, 153 ) should be local VehMarker = createMarker ( 2158, 2449, 11, "cylinder", 2, 0, 0, 255, 153 )
  17. line 8 if ( pTeamName = "Police" ) then should be if ( pTeamName == "Police" ) then
  18. What is this language ausrüstung change it to English without decorations.
  19. This is server side, and your event is client side .. setElementVisibleTo and source in line 24 and 25 is a button
  20. غير الأفنت addEventHandler("onClientGUIChanged",root,function() إلى addEventHandler("onClientGUIClick",root,function() أضافة إلى أن عندك متغيرين بنفس الأسم أحتمال يصير تعارض name = guiGridListAddColumn(gridlist,"buy car",0.9) name = guiCreateEdit(200, 313, 201, 20, "", false, GUIEditor_Window[2]) الأفضل تغير الأسم
  21. function playerfire(player) setPedOnFire(player, true) if isPedOnFire(player) then setTimer(function(player) setElementHealth(player, getElementHealth(player) + 5) end, 2000, 0, player) end end addCommandHandler("fire", playerfire)
  22. #1 https://wiki.multitheftauto.com/wiki/CreateTeam https://wiki.multitheftauto.com/wiki/OnPlayerJoin https://wiki.multitheftauto.com/wiki/SetPlayerTeam #2 https://wiki.multitheftauto.com/wiki/SetTimer https://wiki.multitheftauto.com/wiki/OutputChatBox
  23. serverffs قفلت مافيه غير ديلوكس بالجوال
×
×
  • Create New...