Jump to content

Ab-47

Members
  • Posts

    367
  • Joined

  • Last visited

Everything posted by Ab-47

  1. addEventHandler( "checkPlayerPos", getRootElement(), checkPlayerPos)
  2. Sorry for taking the show here but you can also do this: playerTable = { number = {}, otherData = {}, } function _(plr) if (playerTable) then local data, data2, randomNumber = "Hello World", "Hello MTA", math.random(5,25) playerTable.otherData[plr] = {data, data2} playerTable.number[plr] = {randomNumber} end end addCommandHandler("insert", _) function o_(plr) if (playerTable.otherData[plr] and playerTable.number[plr]) then outputChatBox(playerTable.otherData[plr][1]..", "..playerTable.otherData[plr][2]..", "..playerTable.number[plr][1], plr) end end addCommandHandler("outputdata", o_) Just randomly created this as an example, code should output "Hello World, Hello MTA, (some random number from 5-25)" Not tested.
  3. I'm trying to assemble a script " driver's license " and maybe there is no such ) In general , here's the script: function checkPlayerPos() if playerPos(radararea) then outputChatBox ( "Hello", driver, 0, 255, 0, true ) end end addEvent( "checkPlayerPos", true ) addEventHandler( "checkPlayerPos", getRootElement(), startExamingC ) Do you realise you're not triggering the correct function? addEventHandler( "checkPlayerPos", getRootElement(), startExamingC )
  4. veh would be selecting all vehicles existing which would probably return the function because some elements may not be exploding, sync issues. Try respawnVehicle(source) instead of "veh"
  5. local medicsTeam = createTeam("Axis",255,0,0)
  6. The restore button isn't enabled, I guess GTA wasn't added by default in the first place, as it's also a cracked version. The Nvidia panel seems awfully laggy, could that mean there's something wrong with the graphics hardware? Also one more thing, I've had this issue for a very long time, whilst playing GTA despite the FPS or different themes I always get cut text at one point, such as on the chatbox or when making GUI's, I tried re-installing MTA, no use. I'll try re-installing GTA too but I doubt it's GTA itself. I think the reason why I'm having all these issues is because the installation of Windows 10, ever since windows 10 took over, ALL or most of my programs turned shit, some don't even work. The laptop lags genuinely where I'd have to force shutdown once a week due to the amount of lag. Windows 8 was perfect. Anyway's I think I'll be fine with option C, no issues other than MTA startup lag which I could live with. Thanks ccw, you've been a big help.
  7. Wouldn't it be the resource 'play'. As 'play' handles the spawn on join with a random skin? Though if you disable 'play', when you login again you'll have a black screen with nothing to handle to spawn.
  8. Is this: getSelectedGridListLeaf A self defined function (I'm guessing it is, because it doesn't exist on the wiki), if it is, please show the code to that here. The fact that it's returning the function, it could be the reason why the script isn't working. Could you also post any errors that occurred, would be great help.
  9. Ab-47

    [HELP] dxEdit

    Haha don't worry, it's the smallest mistakes that you cant see even when they're right infront of your eyes, it's what used to happen to me when I was an amateur in coding Good-luck on your code N3xT, was happy to help.
  10. Ab-47

    The last reply

    I don't see you there..
  11. Ab-47

    [HELP] dxEdit

    I've done some research, found out some of you guys's biggest mistake Replace: string.sub ( text, 1, #text - 1 ) with text = string.sub ( text, 1, #text - 1 ) should work perfectly.
  12. afaik you must extract the file from gta3.img but in order to remove the mod, you must replace that extracted model with a default GTA model. Like, you could extract your modded files from gta3.img and then paste a default GTA model there. The reason why you simply cannot remove a mod, is because when the mod was installed it had already replaced the default model with the mod you used.
  13. Ab-47

    The last reply

    I'm quite happy I'm on the first page of this topic and on the 104'th
  14. Sorry for the late reply been busy lately and then MTA forums went into maintenance. A - Standard Nvidia (Works sometimes but get the graphics issue) B - Alternate Nvidia (MTA turns on but does not show on the screen when clicked) C - Standard Nvidia with exe rename (Works the best, no issues, idk if it's just me but this one doesn't seem as good as A s graphics) D - Alternate Nvidia with exe rename (Same as B, MTA turns on but does not show on the screen when clicked) E, F, G & H are standard/alternate intel graphics, which I don't use for MTA so I don't feel the need to test them. Anyway's I've found C to be the best working one so far with no graphics issues.
  15. Alright will do, kinda tired today so I'll let you know tomorrow. Thanks for your help ccw
  16. Wow, what a fast reply. Sorry for me replying late, was chilling in-game. https://pastebin.mtasa.com/246173408
  17. Hi, title explains it all. Issue is, everytime I run MTA SA version 1.5.2 I get a graphics card error which reduces my FPS from 61 to 34 or so and it's really annoying. The message says that graphics card has been recovered or something. It only started happening after the new updates of MTA SA where the dialog box appears to select your graphics preferences. I always select "A - Standard Nvidia". Here's a screenshot: http://i.imgur.com/j8TpyXD.png PC specs: 2GB Nvidia GeForce 840m - second latest upgraded (the GTA V update) 6GB RAM 1TB HDD I've always had 61 FPS, so can anyone help me
  18. Ab-47

    The last reply

    Wow the trend still flows.
  19. Ab-47

    Weapon Bug!

    Are you using giveWeapon() via triggering a server event? Try using a loop to get all the players in-game and use the giveWeapon function according to the loop variable. Like for k, players in pairs(getElementsByType("player")) do giveWeapon(players, ..) end
  20. #1 Ahh okay, then why not in-fact place the islands closer to each other? #2 have you tried using another shader with a similar effect?
  21. Ab-47

    The last reply

    I'm pretty sure the last reply would be a moderator locking this topic in a few hundred years time
  22. Create a check each interval using setTimer() to check the location of the vehicle and save it in the XML each time.
  23. For #1, to CodyL, why not try another dimension? For #2, is it possible to lay a shader on the roads to capture vehicle headlights without any sync interference rather than modding the vehicle headlights itself? Like mod the roads instead of the lights.
×
×
  • Create New...