Jump to content

AMARANT

Members
  • Posts

    748
  • Joined

  • Last visited

Everything posted by AMARANT

  1. My code is not bugged. By saying "setElementAlpha didn't solve the problem" I meant that it's not the way to make my system 100% work. Alpha makes a body invisible but there are still player's HP bar, nickname and shadow. I'd put up with it but only not when a player dies in a vehicle. In this case those bars, nicknames and shadows move with the vehicle. Like I said the main problem at the moment is a dead player in a vehicle that cannot be removed from it. If I could just change the dead player's position then my system would work perfect even without setting alpha to 0. But because of death in a vehicle it's impossible and I thought that someone knew the solution.
  2. setElementAlpha didn't solve the problem unfortunately I see the only way in creating a ped instead of player but I need to remove that player somewhere. Like I said it works fine with ordinary situations but if the player dies in a vehicle I can't remove his body. The body is like attached to the vehicle and even the function "removePedFromVehicle" doesn't help. What that could be?
  3. It seems that "onElementClicked" doesn't work with dead bodies. I tested it. But i'll try setElementAlpha.
  4. But how can I remove the lying body somewhere if I want to create a ped on that dead spot? I mean hide it or something. I tried to change its position and it worked fine until I tried again with the player being in a car. As a result of it there were two bodies. One of it was my just created ped and the other one was actually my player. Is there any way to sort out this problem with removing "real" body?
  5. I have some questions about player's dead state. I started making revive system and came across many problems with it. So... 1) Why can't I click on a dead body lying on the ground? 2) What really happens with player element after in-game death? 3) Why can't I see a dead body on its death spot after relogin? Thanks in advance for your answers.
  6. А что репортером делать я так и не понял?
  7. teteomar, it has to. 95% of your events begin with "addEventHandler" and it's fully supported. Look at the first post - there is a screenshot proving that.
  8. Попробуй напиши в теме Ban Appeals (Просьбы о снятии бана) на ихнем форуме. Правда я думаю, что эти жлобы хрен тебе помогут.
  9. Пацаны кто может дать список всех машин, поддерживающих Paintjob.
  10. Solidsnake14, thanks for your example. My attempt had some empty space too but it was much more bigger than yours. I think that will do for me. Thanks again.
  11. Solidsnake, the thing is that in my gridlist might be either one row or twenty rows. So I thought that I could make some kind of autosized gridlist but all my attempts with loop and counting rows led to no good
  12. How can I set the size of my gridlist automatically depending on the number of rows in it?
  13. Согласен насчет СИТа - шлак еще тот, админы реально бараны и лагов с багами полно. Особенно помню сколько у меня там вылетов было когда на ихнем серве была туча всяких скриптов с комьюнити, большинство из которых бывают глючными до безобразия. Так что его в пример лучше не давать. Хочется РП - заходи на Валхаллу или реально запилить свой, но это очень тяжелая работа, которая может быть просто не по силам.
  14. Hi guys, I need to make a text file with some information to be output. I know that I have to use fileCreate and fileWrite functions but I can't figure out how I can start a new line in that file. Please, help me out to solve this small issue.
  15. Мне тоже этот вопрос показался интересным: "Почему в МТА так мало русских серверов?". Но на самом деле если разобраться, то их и не мало. Не мало потому что в паблике можно понаходить кучу всяких "Pycckux" серваков с такими невероятными и уникальными названиями, что даже русский человек может не догадаться что это русский сервак. Лишиний раз это доказывает уровень подобных проектов, недаром на них играют в основном друзья владельца и 1-2 случайно прохожих игроков. Полностью согласен с тем, кто тут говорил про топор по башке. Но больше всего меня расстраивает тот факт, что нет нормальных РП-сервов, потому как те что есть в данный момент не имеют никакой "изюминки" или чего-нибудь уникального, они скучны и однообразны. И почему-то мне кажется что даже появись такой сервер, на нем играло бы мало народу, из-за того что многие просто заняты своими проектами и я бы не сказал что русское сообщество такое уж и большое, хотя я могу и ошибаться Из-за этого я даже свой RP-сервер делаю на английском языке, боясь вообще выложить его нашим, т.к. сервер с пометкой "RUS" будут обходить иностранцы, а наших уж очень мало в МТА. Поэтому на вопрос этой темы могу предположить из того что было сказано выше и из моего собственного мнения, что все это из-за малого количества русских игроков. Вот так вот
  16. Well, actually from what it is said in the function description it will turn off only music in clubs so I think it's O.k. Thank you again man)
  17. I'd like to add custom music in Alhambra but I don't know how to turn off the standard tracks which are played there. Is there any solution without turning sound off via settings menu?
  18. Sorry, Solidsnake14 I can miss something obvious because I'm not good at SQLite yet. So thank you for your answer it definitely helped a lot.
  19. How can I get the number of rows in my table with SQL COUNT statement? Please help me with that via some example of using.
  20. My friend can't connect to my server although everything was just fine before. Today I checked out server.log and found this message: "CONNECT: Danny failed to connect (Join flood) (IP: xx.xxx.xxx.xx Serial: 76F384B63E1894509C838D0E6Exxxxxx Version: 1.3.0-9.04088.0)" It types this message every time when my friend makes an attempt to connect to my server. What is this "Join flood"? Has anybody faced this problem?
  21. And if you aren't interested in searching other scripts you could also make your own. All you need is checking players from the same team and blip them on the radar. It's really easy. Good luck.
  22. I really don't get you from what you've said but if you're talking about checking HP and not giving MedKit to the player who already has 100% health then there's solution: if getPlayerMoney( localPlayer ) >= 1000 then if getElementHealth( localPlayer ) < 100 then outputChatBox ("You bought a MedKit $1000",225,225,0) takePlayerMoney(1000)--I advise you to do it serverside triggerServerEvent ("givehealth",getLocalPlayer(),givehealth) else outputChatBox('Your Health is 100% You Cant Buy MedKit',source,255,255,0) end end
  23. I did it in a different way with executeSQLQuery but thanks anyway
  24. I confirm it. I'm very satisfied with this hosting. I've been using it for three months and during this short time I can't say anything bad about OG-servers.net
×
×
  • Create New...