Jump to content

AMARANT

Members
  • Posts

    748
  • Joined

  • Last visited

Everything posted by AMARANT

  1. Use "triggerClientEvent" function: triggerClientEvent("CameraRotate",myPlayer)--this makes camera rotate only for specific player; triggerClientEvent("CameraRotate",getRootElement())--this makes camera rotate for any player. You just need to pass required arguments in this function.
  2. Наверное это, но функция нерабочая уже в любом случае. Есть правда вариант отрисовки необходимой анимы на клиенте, но для бега это геморно очень. Конечно, может есть еще способы, но я про них не знаю. Да и вообще стоит ли оно того?
  3. раз. В смысле "отключить"? Ты имеешь ввиду смену анимации бега? два. showPlayerHudComponent ( player, "vehicle_name", false ) три. showPlayerHudComponent ( player, "area_name", false )
  4. AMARANT

    Falling

    I can't man, I'm at work I often need to be given the answers by the time I come back home
  5. AMARANT

    Falling

    Who would have thought it! It seems so obvious) But what about slaps? Does "onPlayerDamage" trigger when a player is slapped?
  6. AMARANT

    Falling

    I'm just wondering how can I check that a player takes damage from falling?
  7. addEventHandler("onClientGUIClick",getRootElement(), function () if (source == MyButton) then guiSetVisible(MyWindow,false) end end)
  8. Пройти регистрацию с заполнением анкеты на официальном ихнем сайте. Хорошее знание английского не только приветствуется, но и необходимо.
  9. Все на багтрекер выкладывайте. Вся надежда на разрабов что исправят.
  10. I think you could check it like this: if getPlayerTeam(player)==false then EDIT: Your example is supposed to be the same.
  11. I suppose that there is no 'nil' team. And in your script you're trying to set player's team to nil.
  12. I have one question. Should I do all this stuff in EVERY my resource? I mean changing meta.xml in every resource folder.
  13. Thank you very much!
  14. AMARANT

    Help!!!!

    Probably he wants to create a brand new server and his knowing is equal to 0. The best way to do it is to start learning the main MTA wiki page.
  15. I searched for a list of all supported paintjob vehicles. But I managed to find nothing. Could some of us provide me with that list?
  16. I've already said that the problem is solved in a different way. And how many times I have to say that YOU CANNOT KICK THE DEAD PLAYER OUT OF THE VEHICLE. So forget it. My system is done and I don't need more help, thank you...
  17. Thanks for your advice, but I suppose that some of you guys haven't read the whole topic. I'm not a newbie scripter and I know how to do many things unless I come across something new that I haven't dealt with yet. And I created a ped with animation, sticked camera to him, removed a real dead player to another place, made everything to create an illusion of death as if there were my dead player lying on the ground. But! If you had read previous page of this topic then you would have known that there is a very annoying bug with death in a car or other vehicle. You can't remove dead player from that vehicle in case of death. That was my largest problem. As there is no way to fix that, I put up with it because I found a solution - function "spawnPlayer" that actually revives player. I just revive player at the moment of his death and spawn him at different location. That works fine even if you died in a car and lets me create ped, animations and other stuff on the dead spot. So I think that the problem is solved. But I reported a new issue on the bugtracker. And you can help to fix dead bugs in the future by leaving some comments on this page. Anyway thanks to everyone who tried to help me with this
  18. Even Gurus of this forum don't know what to do so I came to a conclusion that there is no way to do something with my problem. It's very sad as I expected much more from MTA
  19. The best way would be clicking on a dead body. But as it's impossible I'd like to create lying ped on the death spot and removing real player's body from that position somewhere. Then I could click on that ped and the player would be revived from GUI window. That's it.
  20. Unfortunately it's not working too Probably the only way to solve it is reporting on the bugtracker...
  21. Apparently nobody dealt with it yet Solidsnake14 it was the first thing I tried to do. And I was very surprised because it didn't work. But moving to another position did until I found out about those problems with death in vehicle.
×
×
  • Create New...