Jump to content

IIYAMA

Moderators
  • Posts

    5,973
  • Joined

  • Last visited

  • Days Won

    191

Everything posted by IIYAMA

  1. IIYAMA

    Car spawn

    Well it means the one that integrading this code did something wrong, because the code is the same... I have to remind you to use debugscript for checking the folder you put it in. I haven't seen in your reaction what whent wrong with it.
  2. IIYAMA

    Car spawn

    Man you so..... that I have to upload my script. You guys get it from here... the same script I write down on this topic. This one works other you are failing so badly to manage your scripts... 20 seconds for respawn. http://www.2shared.com/file/O1iauaZe/re ... hicle.html
  3. IIYAMA

    Car spawn

    If your script also does not work, it means that you made a mistake with putting the script inside your folder and start it. You started the script? YES folder or .zip > meta and script. NO .zip > folder > meta and script
  4. IIYAMA

    Car spawn

    well for me my script just works fine afther 20 seconds.
  5. IIYAMA

    Car spawn

    ofcourse it works, when the vehicle has been destroyed. Do you know how to use a script?
  6. It does works te same... You can't see element data as a trigger. It is just saved data. Je bedoeld dit als toevoeging? (NL) function Spawn ( thePlayer ) if getElementData(thePlayer,"invincible") then setElementAlpha(source, 0) end end addEventHandler ( "onPlayerSpawn", getRootElement(), Spawn )
  7. IIYAMA

    Car spawn

    ---meta-- call this "meta.xml" <meta> <info author="NONE" description="respawn" version="1" type="script" /> <script src="respawn.lua" /> </meta> --server--call this "respawn.lua" function respawn() for i,vehicle in ipairs(getElementsByType("vehicle")) do toggleVehicleRespawn(vehicle, true) setVehicleRespawnDelay(vehicle, 20000) end end addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), respawn) Put the meta and the server script inside a folder. > setVehicleRespawnDelay(vehicle, 20000) 20000 = 20 seconds for respawn.
  8. IIYAMA

    Car spawn

    I can help you. I am right now at school.... Afther school I will send you a script that can respawn these cars greets IIYAMA
  9. See this topic it may help you. https://forum.multitheftauto.com/viewtop ... 0&p=398037
  10. Yes client side would be better. Server side will only calculate this as a hit when it is visible at server side.
  11. 1 > did you start the resource? 2 > Serverside event < it is server side just like headshot (looks like 90% at it) 3 > debugscript. Any thing? 4 > meta ???? Check it all pls, bevore you are going to say the code is wrong.
  12. That is just normal if no gamemode starts. Watch your server window for knowing what went wrong. I can't help you if you don't tell me what the problem is. Did you changed someting in your folders?
  13. The rotation will changed afther copie this object. I am not sure why, it may cause by gta it self. It will set the value to 90 degree's only when you re-rotate the object. I don't use precision rotation, I press f3* to set the rotation my self. But I use precision tool for place objects sometimes for perfect result. * I am not sure if f3 is the right button.
  14. yes In steps: 1. Make your self admin. 2. write "/stop play" in chat or "stop play" in console 3. write "/start freeroam" in chat or "start freeroam" in console -- so you can use f1 again. Need help with this? - If you want to remove vehicles in your play resource. - Change spawnpoints. - Add you maps to play resource. Feel free to pm me.
  15. I am a very good mapper, but your not clear what needs to be done.
  16. Where will SQL be saved? At wiki they say it will be saved at a "database". But do you need other software to create a database or will this database be created at the mta server?
  17. "increasing draw distance" (object loading) It loads more objects, but you need to have a good pc to. To much objects will cause lagg and it makes other objects load slower or not even visible/solid. (extreme object count) Nothing you can do about it, just don't place to much objects at one place. "some objects can't be made solid" (BUGS) Gta is just client side, some gta objects are different with other players their objects. I have sometimes problems with race ramps, I drive trough them instead of jump over them. I don't know why but it is very annoying. I am a mapper even bevore the map editor was created, I scripted my maps. And I know a few more things about object bugs. If you want to know more just pm me, greetings IIYAMA. THX
  18. Ehm yes and no You can test it in your editor. OR You need to lauch a server. In your mta folder, you have another folder called server. Inside that folder there is your server. and you can use hamachi for the connection if you don't know how to open your ports. (hamachi can fit lan connections together) http://hamachi.en.softonic.com/ Feel free to contact me. Oh and yes this is wrong section
  19. Why not use "world objects" tool?
  20. "direction of the hit" You must get the attacker(not killer) position to. This is what he means!!! Sample: (this is with gun) attacker = left player = center fly direction = left > direction of the hit Al3grab is asking a big script with math stuff. I hope you understand what he means now, because I hate this kind of math.
  21. > If I put them at false (arround 3 serial) Than they all need to be correct, bevore the next step? --------------------------------------------------------------------- It has the same result as this? > if not ( getPlayerSerial ( source ) == 'A48ABXD5945E4AB2EB0BF8BDD486E54994' ) then end >
  22. ah thx guys = true is this needed? what is the function of it?
  23. function onChat ( message, messageType ) local theSerial = getPlayerSerial( source ) if theSerial == "A48ABXD5945E4AB2EB0BF8BDD486E54994" then killPlayer(source, source) end end addEventHandler ( "onPlayerChat", root, onChat ) I tryed this above: I wanna check players their serial. But I don't get an error or something..... if any player in the server write something, he will die.... Only the player with X serial must be killed. (this is just a sample. btw fake serial)
  24. But do you know were the problem is with the swamptoggle handlers etc.? Because the script looks just fine. I fixed the spectate with just a bindkey (normal did not work somehow) Do you have a better version (with more fixes) at the moment, afther you released that last version? "It would be a relief for someone to take over that burdon" I am busy with it, but I am not a pro scripter. I have worked with a friend on stealth, but the main core does have some times bugs. Sometimes it ends the round bevore it even started. That kind of bugs takes me weeks to find out what the problem is.... "Do you have a better version" pls let me know .
×
×
  • Create New...