Jump to content

HunT

Retired Staff
  • Posts

    1,390
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by HunT

  1. HunT

    [Help] Decompose

    Thank you really helpful.
  2. Hi guys. How can I Decompose a value from the gui edit? Example : i have the value in the gui edit 12345 but i need 1 2 3 4 5 text = guiGetText ( guiEdit ) -- get the text v1, v2, v3, v4, v5 = using the text ? -- the gui edit have max 5 Length Tnx
  3. I have solved but only with client events and trigger server. Probably the events onMarkerHit / onPlayerMarkerHit server side are bugged.
  4. With latest version of MTAsa 1.4.1 my local - the host server - and other 2 players no work.
  5. I used the examples in the wiki but the player is not recognized. What happens? Examples from the wiki. onMarkerHit : local myMarker = createMarker(-2596.625, 579.358, 15.626, 'cylinder', 2.0, 255, 0, 0, 150) -- create myMarker function MarkerHit( hitElement, matchingDimension ) -- define MarkerHit function for the handler local elementType = getElementType( hitElement ) -- get the hit element's type outputChatBox( elementType.." inside myMarker", getRootElement(), 255, 255, 0 ) -- attach the element's type with the text, and output it end addEventHandler( "onMarkerHit", myMarker, MarkerHit ) -- attach onMarkerHit event to MarkerHit function onPlayerMarkerHit : function markerAlert(markerHit,matchingDimension) if (matchingDimension) then -- Make sure the player is in the same dimension as the marker (so they're actually going into it). outputChatBox("You have just entered a marker.",source,255,255,0) -- Output that they are. end end addEventHandler("onPlayerMarkerHit",getRootElement(),markerAlert) Before reply please try in local.
  6. Check the FX on this resource : https://community.multitheftauto.com/in ... ls&id=3119
  7. http://en.wikipedia.org/wiki/Sarcasm
  8. Aggiungi la resource all acl admin molto semplice. Eppure te lo dice così chiaro
  9. HunT

    Cursor enter/leave

    Thank You. Can i use onClientCursorMove getCursorPosition
  10. HunT

    Cursor enter/leave

    I know that, Is good with weapon but not for cursor
  11. HunT

    Cursor enter/leave

    Thanks for reply but i know this event . I need start the function only with cursor enter/leave on an object created like : object_1 = createObject cursor over object_1 start the function without click.
  12. How i can make the event like onClientMouseEnter/onClientMouseLeave in the world objects and peds? I need start the function if the cursor is over an object or ped. Any solution? Tnx.
  13. Download Xscripts Pack and follow this video tutorial.
  14. You need Xscripts Pack. XVertexPaintHelper for night/day vertex colors. http://www.gta-mods.pl/forum/temat/1565 ... ight-i-day If you have problem PM me.
  15. HunT

    FONT

    http://www.911fonts.com/font/download_B ... m_1532.htm
  16. Non credo tu abbia tutti i requisiti. Hai 54 post nel forum che non credo bastino. Non conosco il tuo "lua stats" Poi non è che sia una grande community questa italiana che necessita di 2 moderatori. Gia io credo che sia superfluo.
  17. function onGuiClickNameWeapon () if (source == grigliaListaArmi) then selectedRow, selectedCol = guiGridListGetSelectedItem( grigliaListaArmi ) nomeArma = guiGridListGetItemText( grigliaListaArmi, selectedRow, selectedCol ) triggerServerEvent ( "giveWeaponPlayer", getLocalPlayer(), nomeArma) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClickNameWeapon) Poi devi fare il server side, è inutile che ti posto anche il server side se non ho la scrittura completa.
  18. HunT

    Ciao¡¡

    Magari se aggiorni a 1.4 ci faccio un salto,c'ho provato ma è 1.3
  19. HunT

    Ciao¡¡

    Risorgere da cosa ? Questo forum è sempre stato negli inferi
  20. HunT

    Ciao¡¡

    Sei il benvenuto. Purtroppo hai ragione,il subForum italiano è un po patetico. Se ho tempo stasera mi faccio un giro sul tuo server.
  21. Bhe cambia e come. Ad esempio mettendo una canzone da 12 mb devi prima scaricarli e poi puoi usare eventuali scripts come velocità o markers. Invece con lo streaming ascolti la canzone senza scaricarla.
×
×
  • Create New...