Jump to content

noOx

Members
  • Posts

    9
  • Joined

  • Last visited

noOx's Achievements

Newbie

Newbie (4/54)

0

Reputation

  1. I think it gives any problem with getVehicleEngineState, because when the engine turned on i get in the ChatBox a "false"
  2. When the Engine is on, and i want to turn off the engine then i see "Motor eingeschaltet = Engine turned on"
  3. Hi, i have scripted a Engine-Toggle. But the Engine will not turned off. The Source function vehicleEngineToggle(source) playerVehicle = getPedOccupiedVehicle(source) playerSeat = getPedOccupiedVehicleSeat(source) engineState = getVehicleEngineState(playerVehicle) if (playerVehicle) then if (playerSeat == 0) then if (engineState == true) then setVehicleEngineState(playerVehicle, false) outputChatBox("Motor ausgeschaltet", source, 0, 200, 0, true) return else setVehicleEngineState(playerVehicle, true) outputChatBox("Motor eingeschaltet", source, 0, 200, 0, true) end else outputChatBox("Du bist nicht der Fahrer des Fahrzeugs", source, 200, 0, 0, true) end else outputChatBox("Du sitzt in keinem Fahrzeug", source, 200, 0, 0, true) end end addCommandHandler("motor", vehicleEngineToggle, false, false) I dont get a error or something.
  4. noOx

    Public beta #2 details

    me2, im waiting for remove the password
  5. noOx

    SQLite Problem

    I have found the problem! I have deleted the ' ' around noOx, then it runs perfect
  6. Thanks for the information. mtasadm-1.0-r1304.exe give the same error but with mtasadm-1.0-r1297.exe i can save the map Thank You
  7. noOx

    SQLite Problem

    The complete Function function joinHandler() local x = 1959.55 local y = -1714.46 local z = 10 whitelist = executeSQLSelect("whitelist", "username", "username = 'noOx'") if (whitelist == false) then -- Wenn Name nicht auf der Whitelist steht outputChatBox("Dein Name steht nicht auf der Whitelist. Informiere einen Administrator", source, 200, 0, 0, true) else spawnPlayer(source, x, y, z) fadeCamera(source, true) setCameraTarget(source, source) outputChatBox("Willkommen auf dem GangLife RPG Server", source, 255, 255, 255, true) end end addEventHandler("onPlayerJoin", getRootElement(), joinHandler) I dont get any errors ingame or in the serverconsole..that is the problem
  8. I have the same error
  9. noOx

    SQLite Problem

    Hi, i have a problem with SQLite. I want to create a Whitelist with SQLite but when i join on my server it do nothing. whitelist = executeSQLSelect("whitelist", "username", "username = 'noOx'") if (whitelist == false) then -- When my Name dont exist. outputChatBox("Your Name are not on the Whitelist.", source, 200, 0, 0, true) else spawnPlayer(source, x, y, z) fadeCamera(source, true) setCameraTarget(source, source) outputChatBox("Welcome.", source, 255, 255, 255, true) end I have already create a new table with the Firefox Extension "SQLite Manager" and changed the name to registry.db In the Table whitelist is one Record with username = blablub, but i spawn normally And sorry for my bad english, im from germany.
×
×
  • Create New...