Jump to content

`Dmz

Members
  • Content Count

    25
  • Joined

  • Last visited

Community Reputation

0 Neutral

About `Dmz

  • Rank
    Advanced Member

Details

  • Location
    Lithuania, Utena

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Use G-TXD for editing GTA's textures.
  2. `Dmz

    Player look

    If you are talking about first person look, then I have to say that is possible. This function is in GTA-MP Zombie Infestation server, you just need to write /fp and test it. I think it was done by setting player's camera position, but I dunno indeed.
  3. When you add function in to the event handler by this way you don't need to type function name, because it's invalid, also I changed element in first event handler to getResourceRootElement(getThisResource()) and also moveObject func haves got bad parameters, you see that the first parameter sais "object theObject" that means it can't be a string. One more thing, in second event handler you typed in second parameter "getRootElement()", but you need to type there marker variable. function elements ( name ) -- create an object at a specified position with a specified rotation lift = create
  4. `Dmz

    Don't works

    I've made this mistake writing the post, sorry, but it doesn't work to.
  5. `Dmz

    Don't works

    Hi community, I have a problem whit this scrip, when I push right arrow server outputs this one. [15:51:16] WARNING: rpg.server.lua: Bad argument @ 'getElementModel' - Line: 39 [15:51:16] ERROR: ...rver/mods/deathmatch/resources/RPG-FR/rpg.server.lua:40: attempt to perform arithmetic on local 'skin' (a boolean value) function whatEver ( ) bindKey ( source, "right", "down", function () local plSkin = getPedSkin(source) local plSkin = skin+1 setPedSkin(source,skin) end ) addEventHandler("onPlayerLogin", getRootElement(), whatEver)
  6. `Dmz

    Bug or what?

    Yes this is server-side, but it don't works I don't lie. Maybe something wrong with my all script but what then if it is.
  7. `Dmz

    Bug or what?

    No it don't works to.
  8. `Dmz

    Bug or what?

    I don't works this is my code look maybe i did something wrong here? indJuodas = createMarker(216.9921875, 79.0078125, 1004.0390625, "cylinder", 1.5, 1, 1, 1) setElementInterior(indJuodas,6) addEventHandler( "onMarkerHit", getResourceRootElement(), function( ) if ( source == indJuodas ) then outputChatBox("Boo") end end )
  9. `Dmz

    Bug or what?

    Maybe you can show me how because I haven't any idea how to do it, I tried it to do it with event onPlayerMarkerHit, but it was the same thing like with onMarkerHit event.
  10. `Dmz

    Bug or what?

    Hi, MTA community. I have one problem with server side event onMarkerHit, it doesn't works, but when I write similar script client-side, it works, so is it bug or scripting mistake? vokJuodas = createMarker(197.1796875, 168.767578125, 1002.0234375, "cylinder", 1.5, 1, 1, 1) setElementInterior(vokJuodas,3) addEventHandler("onMarkerHit", vokJuodas, function () triggerClientEvent("vokPuolimas", getRootElement()) end)
  11. Damn, I've just showed you how to do teams with passwords... Try harder and you'll get it working. I don't create all script specially for you because this forum is only for showing you the way how to do something.
  12. It depends when you want to gui window set visible for client. And if you don't know how to use this function read about it in mtasa wiki page.http://wiki.multitheftauto.com/wiki/GuiSetVisible
  13. You've used guiSetVisible function?
  14. mmm... oranges... Orange is cool fruit and it's color is greate. Orange is the real god child. Orange in the snow
  15. Do you all have readed my client side script. In one comment I wrote that you nee to create some gui elements by yourself. So how you can see the gui window that is not created?
×
×
  • Create New...