Jump to content

X-SHADOW

Members
  • Posts

    721
  • Joined

  • Last visited

Everything posted by X-SHADOW

  1. https://wiki.multitheftauto.com/wiki/GuiMemoSetReadOnly
  2. function stop () unbindKey(source, 'F1', 'down', stop ) end
  3. X-SHADOW

    Convert numbers

    oh Dude i dont fined any function about what you talking about so i give to the website ok iam really sorry about this
  4. X-SHADOW

    Convert numbers

    oh Sorry Man here its http://www.unitconversion.org/time/mill ... rsion.html
  5. X-SHADOW

    Convert numbers

    Small Help to you ^^ http://www.unitconversion.org/time/mill ... rsion.html
  6. then there must be another script you have that make the player teleported you must remove it
  7. i got an idea why dont you Made if player in vehicle and he hit the marker then marker got destroyed and back again if he leave it ?
  8. 1 thing to try make it clientSide in meta.xml addEventHandler ( "onClientMarkerHit", getRootElement(), cancelEvent )
  9. i have Update My Post check it .
  10. addEventHandler( 'onMarkerHit', root, function( uHitElement, bMatchingDimension) if getElementType( uHitElement ) == 'player' and isPedInVehicle( uHitElement ) then local _markers = getElementsByType("marker") for i,marker in ipairs(_markers) do cancelEvent() end end end) Updated !
  11. X-SHADOW

    Need Help

    use this https://wiki.multitheftauto.com/wiki/CreateVehicle to make the vehicles https://wiki.multitheftauto.com/wiki/SetElementPosition to warp the vehicle into the parking lot and this https://wiki.multitheftauto.com/wiki/OnVehicleExplode -- the event
  12. تابل اقدر احل مشكلة اذا كل الاعبين معهم M4 استخدم getLocalPlayer?
  13. Kenix my post well work or not if not tell me why please .
  14. and what is GuiWelcome this ?
  15. تابل طيب ياليت روابط تعلمت منها البرمجه انت انا اقدر اسوي سكربت بسيط بس التيبل ماعرف فيها شي
  16. Try Server addEventHandler ( 'onGamemodeMapStart', root, function ( uMapStart ) getMapName ( getResourceName( uMapStart ) ) end )
  17. GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Edit = {} GUIEditor_Grid = {} GUIEditor_Window[1] = guiCreateWindow(247,116,339,383,"",false) GUIEditor_Label[1] = guiCreateLabel(46,43,223,20,"PM a getPlayerName(getLocalPlayer())",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],255,255,0) guiSetFont(GUIEditor_Label[1],"default-bold-small") GUIEditor_Memo[1] = guiCreateMemo(12,76,312,236,"",false,GUIEditor_Window[1]) guiMemoSetReadOnly(GUIEditor_Memo[1],true) GUIEditor_Edit[1] = guiCreateEdit(12,318,239,38,"aaaa",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(252,315,78,44,"Enviar",false,GUIEditor_Window[1]) GUIEditor_Grid[1] = guiCreateGridList(63,119,184,377,false) guiGridListSetSelectionMode(GUIEditor_Grid[1],2) local column = guiGridListAddColumn( playerList, "Player", 0.85 ) -- Create a 'players' column in the list if ( column ) then -- If the column was successfully created for id, playeritem in ipairs(getElementsByType("player")) do --Loop through all the players, adding them to the table local row = guiGridListAddRow ( playerList ) guiGridListSetItemText ( playerList, row, column, getPlayerName ( playeritem ), false, false ) end end bindKey("F7","down", function () guiSetVisible(GUIEditor_Window[1], true) showCursor(true) end )
  18. oh sorry Man My Bad i repeat My Sorry Darken And Kenix i swear i tryed to Learn it but its Hard i can Make simples Scripts but iam bad on Tables and triggring i hope become like u guys
  19. Kenix God I love Your Subject and Darken he want the show the Map Name at same time not the map name with gameType lol like if i had BaseMode and i play Arena 20 F6 'info panle' Cruunet Map : Arena 20 not BaseMode
  20. اختي تبوله بالنسبة للاخطاء اعترف فيها بس انك تقول لي outputChatBox مايحتاج الاعب اللي هو = المصدر هاذا خطا جرب تسوي سكربت وحط الرساله بدون مصدر وشف يطلع للكل مو لك بس
  21. TAPL But this if any player write /arena ..name its well be bugged i suggest he use getPlayerAccount if admin then outputChatBox('blablabla')
  22. this is just an example i think it wont work with you just to show you how addEventHandler('onResourceStart',root, function() local name - getMapName() local name 2 = 'here Your label' guiSetText(name2, name) end)
  23. طيب لو كان الاعبين كلهم معهم M4 ؟ كذا مايزبط الكود صح ولا لا ؟ + حلوه ذي لاتخربط انا هنا للمساعده مافي شي اسمه صح ولا خطا المخطى يصحح له ولا يسب فيه
×
×
  • Create New...