Jump to content

Twisted

Members
  • Posts

    165
  • Joined

  • Last visited

Everything posted by Twisted

  1. i know what hes talking about. He wants to stop granade damage going through the wall on area 30 a.k.a mad dogs mansion
  2. Try look for killmessages that could be the resource you are looking for
  3. infact the vehicle script was mine taken from the very forum and he just editted and the End was mistaken
  4. https://community.multitheftauto.com/ind ... ls&id=1514 thats his gang system but as hes mentioned it has been encrypted so you can not edit this
  5. outputChatBox("<==Ant!-System[xDev-PoinT]==>",0,255,0) function vehicle(attacker, bodypart) if getElementType(attacker) == 'vehicle' then cancelEvent() end end addEventHandler("onClientPlayerDamage", getLocalPlayer(),vehicle) function x ( attacker, weapon, bodypart ) if ( weapon == 0 ) then cancelEvent() end end addEventHandler ( "onClientPlayerDamage", getLocalPlayer(), x ) try that it may not work but should do
  6. im sure castillo did make one of these somewhere
  7. ah i just seen the function sorry about that
  8. where x,y,z defined then? hes only changed a few things from the wiki im only helping by fixing it thanks....
  9. x,y,z hasnt got a spawn position so he will have another error -- Learning MTA's script system function playerSpawnAt() local x = 2031 local y = -1405 local z = 17.4 outputChatBox("Calling: playerSpawnAt("..x..", "..y..", "..z..")", source) spawnPlayer(source, x, y, z) fadeCamera(source, true) setCameraTarget(source, source) end function doOnJoin() outputChatBox("Calling: doOnJoin()", source) playerSpawnAt(source, 2031, -1405, 17.4) end function doOnDeath() outputChatBox("Calling: doOnDeath()", source) setTimer(playerSpawnAt, 2000, 1, source) end addEventHandler("onPlayerJoin", getRootElement(), doOnJoin) addEventHandler("onPlayerWasted", getRootElement(), doOnDeath) change the x y z to the position you like
  10. thank you castillo and JR10 for helping me i am a noob at canceling events
  11. this may be a nooby question but me and my friend (good scripter) cant seem to cancel the event when some one is injured by a vehicle maybe some of u could help function nodamage(attacker, bodypart) vehicle = getPedOccupiedVehicle(source) if (vehicle) then cancelEvent() end end addEventHandler("onClientPlayerDamage", getRootElement(),nodamage)
  12. Twisted

    fix it pls

    Make it yourself? why steal scripts? start learning here https://wiki.multitheftauto.com/wiki/Main_Page He didn't stole it this time... I made it for him in another topic ah sorry castillo didnt relize just u know he mentions not 100% made by him:P
  13. Twisted

    fix it pls

    Make it yourself? why steal scripts? start learning here https://wiki.multitheftauto.com/wiki/Main_Page
  14. lol copying scripts wont learn u
×
×
  • Create New...