Jump to content

Martyz

Members
  • Posts

    102
  • Joined

  • Last visited

Everything posted by Martyz

  1. Feats: [DM] Martyz ft. Cold - A Night In The Miami : [DM] Martyz ft. Bootje - Annihilated : [DM] Martyz ft. Saymen - Around The City : [DM] Martyz ft. NitroN - SpeedMania III : Vols: [DM] Martyz v20 - CrAzY LoOpS II : [DM] Martyz v23.1 - RollerCoaster : [DM] Martyz v24 - SpeedMania, [DM] Martyz v25 - SpeedMania II : [DM] Martyz v27 - Skilled - Infernus : [DM] Martyz v31 - I Remember The Future : [DM] Martyz v32 - Forest Run : [DM] Martyz v33 - Edge Of The World : [DM] Martyz v34 - Edge Of The World : Comment please : )
  2. I could make a part in that portals but You should PM me for more information because idk what to do ;D
  3. I know how to use else if from PAWN, just didn't think about it in lua ^^ I will try changing something to elseif and will write what's the result. EDIT: Problem were not in elseif, but I fixed it by my own, anyway thank you very much for helping.
  4. now if i write /roll , its okay, it shows "It must be number!", but when i type /roll , just no effect
  5. Show us some video or screenshots.
  6. Now, whatever I am writing in /roll, it says "It must be number!"...
  7. dude, I am scripting lua 3 days so no idea where is the problem and i can't see any indentation O_o
  8. Sorry for double posting. I've got this error: [2011-01-01 22:35:27] start: Requested by Console [2011-01-01 22:35:27] Starting race_martyz [2011-01-01 22:35:27] SCRIPT ERROR: race_martyz\commands.lua:37: 'end' expected (to close 'function' at line near 'else' [2011-01-01 22:35:27] WARNING: Loading script failed: race_martyz\commands.lua:37: 'end' expected (to close 'function' at line near 'else' [2011-01-01 22:35:27] start: Resource 'race_martyz' started code: function lotto_roll(player, amount) if tonumber(amount) then if(amount < 100) then outputChatBox("Minimum roll amount is 100$!", player, 255, 100, 0, false) return end if(amount > 1000) then outputChatBox("Maximum roll amount is 1000$!", player, 255, 100, 0, false) return end if(amount > getPlayerMoney(player)) then outputChatBox("You have less money than you entered!", player, 255, 100, 0, false) return end local rroll = math.random(0, 2) if(rroll == 0) then outputChatBox("You've spinned for " ..amount.. "$ and lost!", 255, 255, 0, false) takePlayerMoney(player, amount) end if(rroll == 0) then outputChatBox("You've spinned for " ..amount.. "$ and lost!", 255, 255, 0, false) takePlayerMoney(player, amount) end if(rroll == 1) then outputChatBox("You've spinned for " ..amount.. "$ and WON!", 255, 255, 0, false) givePlayerMoney(player, amount) end end else outputChatBox("It must be number!", player, 255, 100, 0, false) end end addCommandHandler("roll", lotto_roll)
  9. will try this out, thanks.
  10. Hi, i want to make a lotto command for ex.: /roll And how can I get is entered text in command is numbers or letters?
  11. I don't want to "fix" it because that "fixing" would spoil the map..
  12. In your dreams, ImNoob.. I uploaded because EPG said that first jump is too hard and not accepted (lol) so i decided to upload it here because i don't know what to do with that map else ;]
  13. This is my v28 named Skilled - Sandking. Download link: http://solidfiles.com/d/534d9/download/
  14. Wtf.. I click this - but it just shows me object settings table I use MTA:SA 1.0.4
  15. Can't it be virus or keylogger there?
  16. I see that i won't do it by my scripting knowledge. Everyone just place link to wiki, nothing else..
  17. Yeah. I am new at lua, but I would like to learn it. Can you write me an example for it ? I will get vice city hud, but i need code witch would replace it.
  18. Ye I need something like that but i just need to replace San Andreas hud with Vice City hud
  19. How to change player stats menu? I mean this one: I know that it is possible somehow I need your help, guys.
  20. I made custom vehicles but now another problem . I dont know how to set player position and interior when he spawns. Help?
  21. I need some oldschool sandking race maps on the water.
  22. Hello. How to put custom vehicles into a server. I want to use mod which i downloaded from gtasinside. Someone help me, please
  23. You can fall in the cube by the yellow thingy.
×
×
  • Create New...