Jump to content

Xwad

Members
  • Posts

    1,090
  • Joined

  • Last visited

Everything posted by Xwad

  1. Xwad

    Second Rhino

    whitch examples of the functions do i need?
  2. Xwad

    Second Rhino

    i found nithing:( But if you are help me making this script then i will never create questions on forum!!
  3. Xwad

    Second Rhino

    Banex thx but it does not help becaouse it just write that how to make a simple script. But it does not tels how to make this script and does not tell what do i need to copy.
  4. Xwad

    Second Rhino

    i dont understand it. i cant script! is there any rescource for this?
  5. Xwad

    Second Rhino

    oh write this all in one lua?
  6. Xwad

    Second Rhino

    Oh cool thanks! So need i crate 6 lua file and write this examples into the lua files?
  7. Xwad

    Second Rhino

    i just want to have a script that allows to shoot with S.W.A.T. vehicle like a rhino
  8. Xwad

    Second Rhino

    why? Then what does this example do?
  9. Xwad

    Second Rhino

    i want to add this script for the S.W.A.T. vehicle
  10. Xwad

    Second Rhino

    No i dont want skins i just want to make one more tank:D yeah demage/shoot like a rhino! createprojectile?need i copy the example? this? -- This function gets triggered everytime player shoots. function onClientPlayerWeaponFireFunc(weapon,ammo,ammoInClip,hitX,hitY,hitZ,hitElement) if weapon == 38 then -- if source is a local player and he uses minigun... x,y,z = getElementPosition(getLocalPlayer()) if not createProjectile(getLocalPlayer(),19,x,y,z,200) then -- then we either create a projectile... outputChatBox ( "Rocket minigun overheated! Give it a rest pal!", source ) -- or if projectile limit is reached we output player a chat message end end end -- Don't forget to add the onClientPlayerWeaponFireFunc function as a handler for onClientPlayerWeaponFire. addEventHandler("onClientPlayerWeaponFire", getLocalPlayer(), onClientPlayerWeaponFireFunc)
  11. Xwad

    Second Rhino

    Hi is it possible to make a second rhino in mta? is there any rescource or script?Thanks! And happy new year!
  12. and if i install this update then will it download for players who join to my server? I mean will it works for player to?
  13. Version = 1.4-release-6977.0.000 Time = Wed Dec 31 17:32:32 2014 Module = C:\Program Files (x86)\Rockstar Games\GTA San Andreas\gta_sa.exe Code = 0xC0000005 Offset = 0x00133EA9 EAX=00000000 EBX=00AB1094 ECX=169D8210 EDX=08000085 ESI=169D8210 EDI=00AB1094 EBP=00000000 ESP=0028FB6C EIP=00533EA9 FLG=00010202 CS=0023 DS=002B SS=002B ES=002B FS=0053 GS=002B
  14. cool but there a big bug. i can shoot only foward
  15. i have write this in the .lua file is it good? local weaponsToDamageRhino = { [35] = true, -- basis RPG [36] = true, -- Heatseaking RPG -- You can add different weapons too apart from RPG, if not then a table isn't necessarily needed. -- The [number] is the weapon ID, true means it's valid, every other number returns false. } function handleRhinoDamage(attacker, weapon, loss, x, y, z, tyre) if (weapon and getElementModel(source) == 432 and loss > 0) then -- if the weapon exists and the vehicle being shot is a Rhino and -- the damage dealt isn't 0 but any number higher then do the following. if (weaponsToDamageRhino[weapon]) then -- if the weapon is one of the valid ID's above (35 'true' and 36 'true') then do the following. setElementHealth(source, getElementHealth(source) - loss) -- set the health (life points) of the Rhino (source is the vehicle being shot) -- too the current health minus the loss. end end end addEventHandler("onClientVehicleDamage", root, handleRhinoDamage)
  16. not working:( Nut need i create only 1 lua file?
  17. but is in the update a new script that makes possible to shoot farther with Rhino?
  18. not working:/ but thanks
  19. [2014-12-30 15:11:20] ERROR: Couldn't parse meta file for resource 'tankkill' [2014-12-30 15:11:20] Loading of resource 'tankkill' failed
  20. oh must i write in meta this
  21. i have read it but i dont know that what have i do wrong
  22. I create a folder and put 2 files meta.xml and tankkill.lua I wrote in meta.xml the following tankkill.lua local weaponsToDamageRhino = { [35] = true, -- basis RPG [36] = true, -- Heatseaking RPG -- You can add different weapons too apart from RPG, if not then a table isn't necessarily needed. -- The [number] is the weapon ID, true means it's valid, every other number returns false. } function handleRhinoDamage(attacker, weapon, loss, x, y, z, tyre) if (weapon and getElementModel(source) == 432 and loss > 0) then -- if the weapon exists and the vehicle being shot is a Rhino and -- the damage dealt isn't 0 but any number higher then do the following. if (weaponsToDamageRhino[weapon]) then -- if the weapon is one of the valid ID's above (35 'true' and 36 'true') then do the following. setElementHealth(source, getElementHealth(source) - loss) -- set the health (life points) of the Rhino (source is the vehicle being shot) -- too the current health minus the loss. end end end addEventHandler("onClientVehicleDamage", root, handleRhinoDamage)
×
×
  • Create New...