Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Days Won

    27

Everything posted by iPrestege

  1. تستخدم مود Castillo / SolidSnake14?
  2. getTeamColor getPlayerTeam https://wiki.multitheftauto.com/wiki/ToHex
  3. Then DSL is better much We really have a nice connection in the K Of Sa !
  4. ماشاء الله باين انها استضافة كويسة .. بالتوففيقق .
  5. Nice one. My new wallpaper !
  6. Sorry but your code makes no sense at all.
  7. عليكم السلام guiSetProperty + http://web.archive.org/web/20120706081430/http://cegui.org.uk/static/WindowsLookProperties.html
  8. You must get the values from the table which is the function i gave you above so you can simply : if vehicle then for _,iUpgrades in ipairs ( getVehicleUpgrades ( vehicle ) ) do -- Your Stuff end end This is just an example and vehicle doesn't return for something here you must check if the vehicle exists in your script.
  9. عليكم السلام Team = 'Team Name' Mark = { {x,y,z} } for k,v in ipairs (Mark) do z = v[3] -1 Marker = createMarker ( v[1], v[2], z, "cylinder", 1.5, 255, 255, 255, 255 ) addEventHandler('onClientMarkerHit', Marker, function ( hitPlayer ) if ( hitPlayer == localPlayer and getPlayerTeam ( hitPlayer ) and getTeamName ( getPlayerTeam ( hitPlayer ) ) == Team and guiGetVisible ( GUIEditor.window[1] ) == false ) then guiSetVisible (GUIEditor.window[1], true ) showCursor( true ) end end ) end
  10. This function returns a table of all the upgrades on a specifed vehicle.
  11. getVehicleUpgrades And save them with any save ways.
  12. وش السكربت وكيف تدفع أنت أصلاً .. امس قلت لك بسكايب بس انت ما تبي تبرمج يمكن يبي غيره ذاك طويل ومافهمت لة نظام الاحتلال كيف طريقتة أو ..الخ ..
  13. setElementInterior setElementDimension
  14. Where is the reset of iCallLast ?? @3B00DG4MER: Show us the code to see if you completed it correctly. I'm not going to make a full ready code for him . local iTime = 10000 local iCallLast = getTickCount ( ) -- Complete Here addEventHandler ( 'onClientRender',getRootElement ( ), function ( ) local iTickNow = getTickCount ( ) if ( iTickNow - iCallLast > iTime ) then -- Complete Here iCallLast = iTickNow end end )
  15. onClientClick getPlayerTeam getTeamName guiSetVisible guiGetVisible isElement getElementType addEventHandler Updated.
  16. iPrestege

    GUI Bind

    for i = 1,20 do guiSetVisible ( GUIEditor.label[i] ,false ) end bindKey('F7','down', function ( ) for i = 1,20 do guiSetVisible ( GUIEditor.label[i] , not guiGetVisible ( GUIEditor.label[i] ) ) end end )
  17. giveWeapon( source, iWeapon[ i ], 9999 ) اوه اعذرني لخبطت من العجلة .. شكراً عالتصحيح ..
×
×
  • Create New...