Jump to content

DiSaMe

Helpers
  • Posts

    1,449
  • Joined

  • Last visited

  • Days Won

    32

Everything posted by DiSaMe

  1. Very good server! - I would say that if arresting wasn't that stupid. Of course, it's not that stupid as in Crazybob's CnR in SA-MP, but I think it's still a little bit unrealistic - cop just hits criminal a little bit and criminal appears in the jail. I think it would be better if it was harder to arrest criminals. At least to make cop able to arrest only if he has two times more health than criminal, for example. Because criminal has to be somehow weaker to be arrested.
  2. DiSaMe

    Ghost Driver

    Wow! Great bug! It should NOT be fixed Also, I tried opening MTA window fast after minimizing it. And I saw that door of seat I was sitting in was open! I understood possible reason. You know, in GTA SA when there's no driver in the car and there's a passenger, he exits the car and enters driver seat. I think in MTA ped controlled by you does the same while MTA window is minimized. But when you open window, MTA tells GTA SA that you must be in the passenger seat.
  3. DiSaMe

    monsters

    Wouldn't it be better to script them? They wouldn't let to play some gamemodes.
  4. What do you mean by saying "it has to be a synced feature"? What is not synced? And yes, i'm 100% sure it is possible to script What I meant by it being synced is that it would have to know what is happening on the pool table on both players' screens, and I wasn't sure if the pool table was synced or not Why wouldn't pool table be synced? Server side objects are synced.
  5. if (source ~= attacker) then givePlayerMoney(attacker, ggg) end
  6. What do you mean by saying "it has to be a synced feature"? What is not synced? And yes, i'm 100% sure it is possible to script
  7. DiSaMe

    maths script

    I think you have to change y = y + math.sin ( math.rad(r) ) * 20 to: y = y + math.[b]cos[/b] ( math.rad(r) ) * 20
  8. Possible with scripting
  9. I have an idea how to make traffic lights synced and lag would be very small. You're talking about making every traffic light have its state (red, yellow and green), right? Traffic lights could be synced in other way. They could be separated into groups. There must be at least 2 groups of them. Every group has its lighting state and it's changing. Then server doesn't need to send data about all traffic lights. It can send data about traffic lights groups. It would be a few bytes Does somebody agree?
  10. Looks like "if posFile then" in the line 13 must be "if posNode then"
  11. In line 20 posNode = xmlCreateFile("Positions.xml",positions) positions must be a string. Change this line to posNode = xmlCreateFile("Positions.xml","positions")
  12. Topic title explains everything I want function that rotates static GUI image. Then I will be able to make speedometer
  13. Yeah, animations would be nice. The best usage would be with vehicles. For example, like Johny Sindacco was lying on the feltzer And like sweet and CJ changed their seats while they were driving.
  14. I think the best would be to add function from SCM that creates the shoot. Its opcode is 06BC. Some of MTA functions use SCM functions, right? Then it would be possible to script shoothing from heli
  15. Also, player opens "door" of the vortex before jumping in.
  16. Looks like this is very useful. But could you make it possible to use IPL's? I want to make something with MEd and then convert IPL to MAP and use it in MTA
  17. Thank you both! Now I can create my own gamemode It looks like LUA is too case-sensitive because in Pawn or C I didn't have to think about that. But perhaps it looks like because in Pawn that I used for SA-MP commands that have capital letters start with them too. And C - I didn't script much edit: and thanks to those who wanted to help me but were late
  18. I have searched but found nothing that could help me. I also have looked at Hay gamemode code but I still can't solve the problem. This is very stupid question because code is so small. And I can't make it work. I want to start making gamemode from very simple code. Here it is: function joined ( ) fadeCamera(source,true) spawnPlayer(source,0.0,0.0,5.0) end AddEventHandler( "onPlayerJoin", getRootElement(), joined ) Nothing happens when I connect to the server. Could you help me to make player just spawn when connected? And sorry for my English. I'm from Lithuania.
×
×
  • Create New...