Jump to content

erisP

Members
  • Content Count

    16
  • Joined

  • Last visited

Community Reputation

1 Neutral

About erisP

  • Rank
    Square

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Is there any code to prevent the player from dying under the vehicle?
  2. -- Tables for the fuel markers local pumpsMarkers = {} local pumps = { -- SF GAS STATION NEAR SFPDZ { {-1672.05, 405.35, 6.85, true }, {-1666.75, 410.37, 6.85 }, {-1679.24, 412.21, 6.85 }, {-1673.81, 417.5, 6.85 }, }, -- SF Juniper Hallow place.Near Jizzys club>Pay N spray Gas station { {-2407.49, 971.53, 44.97, true }, {-2407.56, 982.32, 44.97 }, {-2414.68, 980.48, 44.97 }, {-2414.68, 970.04, 44.97 }, }, -- Angel Pine GAS STATION { {-2249.57, -2558.71, 31.58, true }, {-2239.06, -2563.1, 31.6 }, {-2244.82, -2561.4, 31.6 }, }, -- FLINT COUNTRY TRUCKER JOB GAS STATION {
  3. there is no such structure
  4. I did not understand
  5. addEventHandler ( "onClientResourceStart", resourceRoot, function () for ind,tbl in ipairs(pumps) do for i=1,#tbl do local x, y, z = tbl[i][1], tbl[i][2], tbl[i][3] local theMarker = createMarker ( x, y, z -1, "cylinder", 3.0, 135, 132, 134, 70 ) setElementData(theMarker,"ind",ind) table.insert ( pumps, theMarker ) addEventHandler ( "onClientMarkerHit", theMarker, onFuelPumpMarkerHit, false ) addEventHandler ( "onClientMarkerLeave", theMarker, onFuelPumpMarkerLeave, false ) end end end ) ERROR: fuel\pumps.lua:4: attempt to get length of local 'tbl' (a userd
  6. I've tried but the fire objects don't go
  7. How can I extinguish fire objects with the fire truck
  8. I do what you say but still get the same errors
  9. addEventHandler("onClientResourceStart", resourceRoot, function() panel = guiCreateWindow(229, 146, 763, 542, "Veh Mods", false) guiSetAlpha(panel, 0.95) guiWindowSetSizable(panel, false) guiSetVisible(panel, false) Information = guiCreateLabel(81, 30, 595, 76, "Using these mods can cause changes in your game, depending on the type of computer you have.\nWe are not responsible for your actions in using these mods.\nIf you use too many mods can cause problems with the limitations of GTA SA (being an old game).\nYou can start see your map startin
  10. function setModEnabled(name, state) local _, _, dff, txd, id, _, weirdbool = getModData(name) local row, col = guiGridListGetSelectedItem( gl ) if ( fileExists("modlar/"..dff) ) then if ( fileExists("modlar/"..txd) ) then if ( state == false ) then engineRestoreModel( id ) eTable[name] = false enabledIDs[id] = false guiGridListSetItemText( gl, row, 6, "No", false, false ) else if ( weirdbool ) then
  11. function onVehicleDamage(attacker, wep, loss, x, y, z, tire) if (exports.team:isPlayerInTeam(source, "TSK") and exports.team:isPlayerInTeam(attacker, "TSK")) then cancelEvent(true) elseif (exports.team:isPlayerInTeam(source, "WSP") and exports.team:isPlayerInTeam(attacker, "WSP")) then cancelEvent(true) end end addEventHandler("onClientVehicleDamage", root, onVehicleDamage) this code doesn't work. what should I do?
  12. I want to disable helicopter blade damage. How should I do?
  13. @ IIYAMA successful thanks
×
×
  • Create New...