Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Castillo

    Grid lists

    Your grid list has only one column.
  2. dxDrawText requires of the "onClientRender" event in order to keep drawing it.
  3. 1: getElementPosition returns 3 values: x, y and z. 2: "OnClientMarkerHit" is wrong, the event name is "onClientMarkerHit". 3: To see if the player is inside the marker use: isElementWithinMarker.
  4. What game mode are you running?
  5. How are you triggering the event "getSavePassword"? If I'm right, you are sending an account name, so you must use getAccount to obtain the account itself.
  6. https://community.multitheftauto.com/in ... ils&id=963 That script has that, you could see how it's done.
  7. Define a variable with the progress, then you can use a timer to increase the variable by 1.
  8. https://wiki.multitheftauto.com/wiki/SetSoundVolume Isn't that the same?
  9. If you remove the HEX tags, then you'll have to store somewhere the original name, because if you don't, the script will stop working.
  10. So, because it's already created it has to cost less?
  11. Calculate the distance. getElementPosition getDistanceBetweenPoints3D
  12. MTA doesn't force you to compile your scripts.
  13. I first thought you wanted this, but then I didn't understand why you had this: if ( k == liczbaPrzedmiotow ) then
  14. function SprawdzWolneMiejsca ( ) local result = false for k, v in pairs ( Plecak ) do for i = 1, wysokoscY do if ( not Plecak [ k ] [ i ] == false ) then liczbaPrzedmiotow = ( liczbaPrzedmiotow + 1 ) outputChatBox ( liczbaPrzedmiotow ) if ( k == liczbaPrzedmiotow ) then result = liczbaPrzedmiotow break end end end end return result end
  15. Que tiene que ver ese video con la creacion de scripts...?
  16. I doubt anyone's gonna make all these things for just $15, but well, let's see what others think.
  17. You are already doing it with this function: setPlayerNametagShowing so, what is the problem?
  18. addCommandHandler ( "goto", function ( thePlayer, cmd, ID ) local ID = tonumber ( ID ) end ) Is that what you meant?
  19. Castillo

    DayZ Help me

    Can't you at least give it a try? if it doesn't work, you post it here and we'll help you.
  20. Grenades, tear gas, satchels use the same slot. https://wiki.multitheftauto.com/wiki/Weapons
  21. Castillo

    DayZ Help me

    Don't take this the wrong way, but what are you doing in this section if you have no intentions of learning?
  22. There's no need to do it, that loop will do just fine.
  23. So, which is being triggered first? try setting a timer of like 0.5 seconds to give the weapons.
×
×
  • Create New...