Aimcac

Members
  • Content Count

    35
  • Joined

  • Last visited

Community Reputation

7 Neutral

1 Follower

About Aimcac

  • Rank
    Rat

Recent Profile Visitors

559 profile views
  1. Timers create a timer object which horde, albeit a minute amount, resources. Tick counts on the other hand just check the time since your computer has been running, comparisons can give you differences in time, just like a timer.
  2. local spawnDelayTime = 120000 -- delay time in ms local spawnTimers = { } function carSpawn () if spawnTimer[source] then local timePassed = tonumber(getTickCount() - spawnTimer[source]) if timePassed < spawnDelayTime then local timeleft = math.ceil(timePassed/1000 ) -- Get seconds left from timer local secondString = " second" if timeleft > 1 then secondString = " seconds" outputChatBox("You may spawn your vehicle again in "..tostring(timeleft)..secondString) return false end end if not (isGuestAccount (getPlayerAccount (source))) and not (isPedInVehicle(source)) then spawnTimer[source] = getTickCount() end This is more resource-efficient as it doesn't create timers for every player on your server. Unfortunately, I haven't tested it but it should work, in theory.
  3. I had a similar idea but with tank models. Basically getting normal vehicles to work like tanks with moving wheels and turrets and all, quite similar to this I must say. I could share the code with you if you like? Quite buggy tho
  4. I would kill to just know how you did this. Truly awesome work you have here mate.
  5. i made an 'extra seats' resource when I used to script here, basiically making any vehicle have an infinite amount of seats. Try attaching players to the vehicle, making them invisible and setting their camera to focus on the driver to simulate the effect.
  6. That's actually quite decent, would you ever release this?
  7. How did you manage to add new hairstyles if the base model is a CJ skin and you're using textures?
  8. This is awesome, how does it fare with bots tho? Would be cool if you could make the NPCs go to locations whilst finding paths towards them.
  9. onPickupHit* should cancel the use of the pickup.
  10. Hello, I'd like to know if it's possible for players to download files from the internet straight to their computers from the mta CEGUI browser created with guiCreateBrowser
  11. A resource that adds custom tanks with working turrets and possible secondary weapons(light machine guns, heavy machine guns, grenade launchers) or an addon to the slothbot resource that allows bots to drive vehicles and fly planes and use the vehicle weapons or a resource better than slothbot.
  12. Looks great, thanks more making it open source
  13. Here's my list of unused object IDs = http://pastebin.com/sQZz4rFW