Jump to content

Bleidex

Members
  • Posts

    57
  • Joined

  • Last visited

Details

  • Gang
    [3M]

Recent Profile Visitors

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

Bleidex's Achievements

Snitch

Snitch (10/54)

0

Reputation

  1. Still doesn't work. Same error as on first message. Also i got error on way different script - function fixVehicle ( theVehicle ) playerAccount = getPlayerAccount ( source ) playerCash = getAccountData ( playerAccount, "Cash" ) or "0" playerAllowed = getElementData ( source, "data.repairBuyAllowed" ) or "true" playerVehicle = getPedOccupiedVehicle ( player ) if ( playerVehicle ~= nil ) then if ( tonumber ( playerCash ) >= 1000 ) then if ( playerAllowed ) = "true" then fixVehicle ( playerVehicle ) setElementData ( source, "data.repairBuyAllowed", "false" ) else outputChatBox ( "You may buy only one vehicle repair per map.", source, 255, 0, 0, true ) else outputChatBox ( "You need to have at least 1000$ to fix your vehicle", source, 255, 0, 0, true) else outputChatBox ( "You need to be in a vehicle to buy a repair", source, 255, 0, 0, true ) end end end end addCommandHandler ( "buyrepair", fixVehicle ) addCommandHandler ( "br", fixVehicle ) Error on line 8 - 'then' expected near '='. Couldn't think out anything
  2. Doesn't work still - ')' expected in 6th line to clone '(' from 4th one. Can't find where's the error
  3. It gives "failed to call 'scoreboard:addScoreboardColumn' [string: ?]". How it should be fixed? function showcountry ( ) local country = ( exports.admin:getPlayerCountry ( source ) or "N/A" ) setElementData ( source, "Country", country ) end addEventHandler ( "onPlayerJoin", getRootElement(), showcountry ) function playercash ( ) local playerCash = getElementData ( source, "data.cash" ) setElementData ( source, "Cash", playerCash ) end addEventHandler ( "onPlayerJoin", getRootElement(), playercash ) exports.scoreboard:addScoreboardColumn ( "Country" ) exports.scoreboard:addScoreboardColumn ( "Cash" )
  4. Meta is server-sided, haven't tested this yet, but /repair and /nos worked fine before, just binds didn't.
  5. Well i have some problems and i didn't think out how to fix them ;/ Keys won't get binded: function repair ( thePlayer ) playerVehicle = getPlayerOccupiedVehicle ( thePlayer ) if ( playerVehicle ) then setElementHealth ( playerVehicle, 999 ) else return end end addCommandHandler ( "repair", repair ) function nos ( thePlayer ) playerVehicle = getPlayerOccupiedVehicle ( thePlayer ) if ( playerVehicle ) then addVehicleUpgrade ( playerVehicle, 1010 ) else return end end addCommandHandler ( "nos", nos ) function bindKeys ( player, commandName ) bindKey ( player, "2", "down", repair ) bindKey ( player, "LMB", "down", nos ) end addEventHandler ( "onPlayerLogin", getRootElement(), bindKeys ) Also. I mapped few cars and so on for my server. They are in .map file. And if I take any car and explode it, it won't respawn until I restart the map. How to make that they would respawn?
  6. So, time has came to release my maps to publicity. As far i know, they wander from server to server, due to leaking. I pretty much don't care about that as I quitted mta... viewtopic.php?f=93&t=30321 That's old thread of my maps from mta 1.1.1... Now some new maps: http://www.2shared.com/file/RygeptRZ/DM ... eedII.html http://www.2shared.com/file/yAPF_lI_/DM ... B-day.html Some maps without video: http://www.2shared.com/file/xLbfcIBG/DM ... peedI.html http://www.2shared.com/file/SsnA9Wap/DM ... P-Leg.html As i sticked mostly to old map editor(MTA:Race) so I mapped some maps there after new mta release(You will have to convert them for yourselves): http://www.2shared.com/file/czV6F5Ox/Bl ... _-_Wa.html This map (^), as far as i know has been completed by 2 people only - I didn't complete it from start to end. I hope you will enjoy these maps as I do If someone wants to finish my map(ft.), say here in thread, or pm me. -Bleidex
  7. @Tiesto Lulz. My v15 MP becomes MI (or my v2) was made in 2009 spring. So its a bit of 2 years difference? I only like toolbox, because i believe that it will help to make new map revolution. Like most oldschool maps evlved to road/loops maps by Looping Manager map and from it evolved to vgncarshade1 maps, that revolution was made by Raikkonnen for first time.
  8. @Sniper You think that SHC has good reputation now? You never thought that "people that thanked you for the cracked toolbox" were naps, that couldn't get original one, because their maps are CRAPPY? You go on your own, did past leaders of SHC expect this from you? I can bet that no. You have very bad reputation in MTA and you should reconsider that.
  9. Man Minecraft tai nezinau, toks nuobodus . Priedo pas mane ant laptopo vaizdo korta su motinine iskart eina, tai net minecraft lagais eina. MTA netokiais lagais eina kaip ten :DD
  10. Na jo.... Tikrai gerai dirbi ir manau, kad daug gali pasiekt Aš pats tai į programavimą stot planuoju, bet į duombazių kūrimą, sistemų administravimą
  11. I think the only way should be using lil toadys script to get player country(from admin panel)
  12. @firefox - really nice map is there any possibility to get your maps? @Jausds - By replacing some billboads txd's(with photoshop you can paint it however you want) with scripts
  13. Doesnt output any errors now, but it still doesnt work - sets random vehicle color (tested on vehicles that can have custom colors)
  14. Its on Race gamemode.
×
×
  • Create New...