Jump to content

Apo

Members
  • Posts

    141
  • Joined

  • Last visited

Everything posted by Apo

  1. Apo

    house id

    in need only house
  2. Apo

    house id

    hi guys can you help me for find int id house only house int number
  3. Apo

    help

    https://wiki.multitheftauto.com/wiki/Vehicle_IDs Which ID is that? no veh id my server
  4. Apo

    help

    if player enter the vehicle id 14 send massage for player
  5. Apo

    help

    hi guys my code is not work please help me if player enter the vehicle id 14 send massage for player no warning no error function vehenter(source,seat) local veh = getPedOccupiedVehicle(source) local vehid= tonumber(getElementData(veh, "id")) if seat == 0 then if dbid == 14 then outputChatBox("welcome armin", source, 255, 0, 0) end end end addEventHandler("onVehicleEnter", getRootElement(), vehenter)
  6. Apo

    help me

    hi guys please help me for fix my script if player enter the car id 411 and 602 and 593 if not license remove player in the car function licensecheck(thePlayer) local carlicense = getElementData(thePlayer, "license") local seat = getPedOccupiedVehicleSeat(thePlayer) if (carlicense == 1 ) and (seat==0) then else outputChatBox("You are not a driver license", thePlayer, 255, 0, 0) removePedFromVehicle(thePlayer) local x, y, z = getElementPosition(thePlayer) setElementPosition(thePlayer, x, y, z) return end end addEventHandler("onVehicleEnter", getRootElement(), licensecheck)
  7. Apo

    vehicle damage

    thank you But I have a problem , If the driver is not in the vehicle and the passenger in the vehicle , vehicle is no damaged plese help me if passanger in the vehicle , vehicle is damaged , i need vehicle Empty = no damaged vehicle no empty = damaged
  8. Apo

    vehicle damage

    i need help when isVehicleEmpty (not player in the vehicle) vehicle no damged setVehicleDamageProof(theVheicle, true)
  9. Apo

    vehicle damage

    when no player in the vehicle setVehicleDamageProof(s, true) setElementFrozen(s, true) ?
  10. Apo

    vehicle damage

    hi guys my script function damageYes (player,vehicle) setVehicleDamageProof(source, false) setElementFrozen(source, false) end addEventHandler("onVehicleEnter", getRootElement(), damageYes) function damageNo (player) setVehicleDamageProof(source, true) setElementFrozen(source, true) end addEventHandler("onVehicleExit", getRootElement(), damageNo) when passngers has left vehicle my vehicle is setVehicleDamageProof(source, true) setElementFrozen(source, true) i need help for fix my script, when passangers exit vehicle my vehicle no god mode and freeze
  11. Apo

    help error?

    ERROR: mysql\data.lua:120: bad argument #2 to 'mysql_escape_string' (string expected, got nil) ERROR: mysql\data.lua:120: bad argument #2 to 'mysql_escape_string' (string expected, got nil) ERROR: cr\s_cr.lua:58: call: failed to call 'mysql:escape_string' [string "?"] ERROR:cr\s_cr.lua:58: attempt to concatenate a boolean value please help me for fix my error
  12. Apo

    Compile Lua file

    in the windwos? no appliction?
  13. Apo

    Compile Lua file

    hi guys please help me for learing Compile my resource
  14. Apo

    surf vehicle

    yes man please help me
  15. Apo

    surf vehicle

    no anyone help me ?
  16. Apo

    surf vehicle

    yes But i need default all vehicle attachElements disable Player misses the roof of the vehicle in each mode the vehicle is moving fast to stay and the roof fall
  17. Apo

    surf vehicle

    hi I have a problem if the player is on the roof of the vehicle was moving when the player is on the roof of the vehicle remains please help me for disable surf all vehicle
  18. Apo

    bind key

    hi guys I was when I write(Chat) in the server bindkey activated For example:When i type (hi Apo) if a = bindkey , bindkey activated please help me for fixe bug when i chat in the server bindkey no activated
  19. Apo

    vehicle damage

    help me for my code function vehicledamaged (thePlayer) if isPedInVehicle (thePlayer) then local vehicle = getPedOccupiedVehicle (thePlayer) setVehicleDamageProof (vehicle, false) end end addEventHandler ( "onVehicleEnter", getRootElement(), vehicledamaged ) function vehicleundamaged (thePlayer) if isPedInVehicle (thePlayer) then local vehicle = getPedOccupiedVehicle (thePlayer) setVehicleDamageProof (vehicle, true) fixVehicle (vehicle) end end addEventHandler ( "onVehicleExit", getRootElement(), vehicleundamaged )
  20. Apo

    vehicle damage

    ty man can you give me resource i am new scripting vehicle undamaged when player no in the vehicle not damaged by weapon , car etc... When the player is in the vehicle car damaged
  21. Apo

    vehicle damage

    hi guys please help me for make script if player no in the vehilce , vehicle no damaged esle vehicle damaged please give me resource
  22. Apo

    help error

    code deleted
×
×
  • Create New...