Jump to content

ThePCGuy

Members
  • Posts

    97
  • Joined

  • Last visited

Everything posted by ThePCGuy

  1. I still dont get it, how can i script it so the createExplosion will go in a loop till it's being called to shut off?
  2. Is it possible to create a screen shaking effect with this function? Like that the function will loop so you have a constant screen shaking effect for example when you are drunk. And if so, can someone give me a little example?
  3. "FROM VERSION 1.4 ONWARDS"
  4. Hi, Is it possible to give the player the possibility to choose if they want a certain file not to download. For example, a player joins the game and get's a menu to check wich files are going to be downloaded. This can be good if a player wants to join the game alot quicker.
  5. Thanks, i'll look into it.
  6. "Or a link to a detailed one. (not the wiki)"
  7. Hi there, I was just wondering if there is anyone around on the forum that would create a detailed lua tutorial, could be a text or video tutorial. Or a link to a detailed one. (not the wiki) Not the lua language itself but with the functions and events from MTA:SA. Would be great if they were in dutch. English is not a big problem anyways.
  8. ThePCGuy

    Compiling

    viewtopic.php?f=91&t=24834 This is the unofficial MTA script editor, but when right clicking a .lua file in explorer it doesnt have the option ''Compile Script''.
  9. ThePCGuy

    index

    for index, player <--- is this a element ?
  10. ThePCGuy

    index

    I meant, is there a list of where can i get the index of, now you will get all the players.
  11. ThePCGuy

    index

    Ok. But, for index, players <---- (is there a list of what i can fill in here?) in ipairs( something ) do Thanks.
  12. ThePCGuy

    index

    Hi, Is there a tutorial for: example: for index, players in ipairs( something ) do I dont know how to use it and what to fill in.
  13. I think you got me wrong. After punching 2 times a object they break, so can i make spawned objects stronger so it will require 5 punches for example.
  14. Is it possible to make breakable objects that are spawned by a .map file stronger?
  15. Ah, thanks. Didnt saw that one.
  16. ThePCGuy

    Kill music?

    I have a function that is playing some music. It activates on command, but can you actually stop music from being played?
  17. Lock this topic, fixed now for some reason.
  18. Tried it, the same issue. It only gives a pistol on register and there is a saving system for weapons with accountData only it doesnt work for some reason as there are no errors.
  19. For some reason zombies arent spawning. I dont know why, its set onto the streaming option but no zombies at all. Even with the exported function ''createZombie'' the zombies dont spawn.
  20. Well in that case, i have a problem anyways now since the zombie script itself wont spawn zombies for some reason. Already stopped the resource scoreboard. EDIT: Fixed now.
  21. Indeed, as i am using the zombies gamemode for the animations, moaning etcetra. It only needs to set the ''chaseanim'' differently. So can you make a way around so you dont have to use that elementData?
  22. How? I am confused. You are not getting any error but i am.. EDIT: I think its cause of the elementData ''zombieData". Also i am using slothbot and a other zombie spawn script so thats why its conflicting cause the zombie spawns on slothbot but it applies the animation cause of ''chaseanim'' can you make a way around the elementData "zombieData" ?
  23. Zombies spawn, only it spams that error every second on debugscript 3 and Console, so it doesnt apply the animation now.
×
×
  • Create New...