Jump to content

NickRosso

Members
  • Posts

    37
  • Joined

  • Last visited

Everything posted by NickRosso

  1. I see. And would you tell me how to define them? I just know #define but it's not here I guess.
  2. So i've tried this but this did not work. I guess i did some fatal error function PedWasted() setElementHealth ( killer, 0 ) outputChatBox( "Just in the middle", player, 255, 0, 0 ) end addEventHandler("onClientPedWasted", getRootElement(), PedWasted) Edit: It didn't work even. It's for only players. I thought peds are non player npcs in MTA. I've tried this with the citizens resource. function PedDamage() outputChatBox("Just in the middle", player, 255, 0, 0) end addEventHandler("onClientPedDamage", getRootElement(), PedDamage)
  3. Hi. So my newest problem is : i have a great login system (not made by me) and when somebody registers the userdata has benn put to his computer so I guess it's clientside. But in the resource also have a serverside.lua so I don't know what is it. I've read the wiki about the differences between server/clientside but with this i couldn't understand. So i want to put all user files to the server computer. Could anybody help me please?
  4. Thank you very much both of you. I'm just new to this. I should start from the beginning but couldn't find a good teaching page.
  5. Okay Now I've been trying to find the solution but can't. Here it is. I need something like onPlayerDamage but ped. IsPedDead is not good i tried it. I'm trying to make a resource, when you kill a ped you have an output message. Can somebody help me please? Nick
  6. I cannot reach page, it's not avaiable since now. So i need a new one or a tutorail how to change cars and peds. I need it to a private server. I would be very happy if you help. Nick
  7. I was wondering if it's possible. If you can do things with animations it is not impossible i think. For example: You can run up walls a bit and then jump to another. Something like in assassin's creed.
  8. Thanks. I've missed tha bottom of this file. Many thanks again
  9. Hi. I just want to know hot to set default resources. When i start the server for example each time i need to stop the votemanager cuz' i don't need it. I'm just a very new to all this so be patient please.
  10. Hi. I need something like that: When you're logined, the system put's every player into a Team and every team has a randomly selected player target. Or it can be made without teams? Is this possible? I Don't know how to start. I just know Pawno but lua. I've watched a lot of tutorial but can't make my own. I would be very thankful if anybody helps. Nick
  11. Is this for the peds too? I mean NPC's. It's only for the players i think. I tried this but it was a failure. Anyway thanks.
  12. Hi Guys. I'm new to lua, i've just come from SA:MP and pawn language and i need help. I want to make Ped's that are walking round like in the citizens resource here:https://community.multitheftauto.com/index.php?p=resources&s=details&id=3390 But there is no headshot. I want a ped headshot system like in zday. Could anybody help me?
×
×
  • Create New...