Jump to content

ertlflorian1

Members
  • Posts

    145
  • Joined

  • Last visited

Everything posted by ertlflorian1

  1. Ok thanks it only can be this two s arguments: rotationCenterOffsetX: the absolute X offset from the image center for which to rotate the image from. rotationCenterOffsetY: the absolute Y offset from the image center for which to rotate the image from. Can you show me an example how it would work with this rotation?
  2. Hi everyone, I want to draw an Image Section from an Image. This is the full image I want to draw for example only the Section within the red rectangle. How i can make the rotation ? In game it should look like the rectangle, with the rotation of 0? like that
  3. How i can list the resource prox in the webpanel, so that i can show or download every file from the resource for Example http://127.0.0.1:22004/prox/logs/1.html so that I see the file then? and how do I install the PHP SDK?
  4. Ok i had found the problem I renamed the row Key in the Database and now it works!
  5. I have a problem function existsBetaKey (key) local query = dbQuery ( handler, "SELECT * FROM betakeys WHERE Key=?",key ) result , numrows, errmsg = dbPoll (query, -1) local row = result[1] if row then return true else return false end end db.log error: 2013-07-20 16:06:46.840: [script] FAIL: (1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Key ='8201-2349-3772-3253'' at line 1 [Query:SELECT * FROM betakeys WHERE Key ='8201-2349-3772-3253'] console error: [2013-07-20 16:06:46] WARNING: prox\beta\beta_s.lua:37: dbPoll failed; You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Key ='8201-2349-3772-3253'' at line 1 [2013-07-20 16:06:46] ERROR: prox\beta\beta_s.lua:38: attempt to index global 'result' (a boolean value) db:
  6. For every carhouse there would be createt an table where the names of the cars which you can buy in the carhouse are written
  7. Thats the function how I get carhouses: carhouses = 0 local query = dbQuery ( handler, "SELECT * FROM carhouse_names") for i, row in pairs (dbPoll(query, -1)) do setElementData (root, "house"..row.ID, row.Name) carhouses = carhouses + 1 end
  8. carhouses is an value which I get from an Mysql database index
  9. no i want to create 15 (carhouses value) tables: carhousetable1k carhousetable2k carhousetable3k carhousetable4k carhousetable5k ...
  10. for i=1, carhouses, 1 do "carhousetable"..i.."k" = {} end
  11. Why it dont work? carhouses = 5 for i=1, carhouses, 1 do "carhousetable"..i.."k" = "blabla" end
  12. Hi Community i have seen so much methodes how to get the RPM and the km/h of an vehicle can somebody please post me an right method?
  13. test = createPickup (....) then I want to get "test"
  14. I want to get the Name of the pickup which I have entered ? This isnt the full code but all variables are in the full script defined! Serversite: addEventHandler ("onPickupHit", _G["austellungscar"..tostring (ausstellungsvehid)], function (player) if not (isPedInVehicle(player)) then if (getElementData (player, "isWangCarsInfoShowed") == false) or (getElementData (player, "isWangCarsInfoShowed") == nil) then local preis = getElementData (source, "Preis"..source) -- here i must have the name of the pickup local Name = getElementData (source, "Namek"..source) setElementData (player, "isWangCarsInfoShowed", true) if (fileExists ("/data/cars/"..Name..".jpg")== true) then triggerClientEvent (player, "showWangCarsGui", player, player, Name, tonumber (preis), true) else triggerClientEvent (player, "showWangCarsGui", player, player, Name, tonumber (preis), false) end end end end)
  15. No errors in debugscript the problem is that sometimes all ElementDatas Art1-12 Wert1-12 and Grund1-12 would set to art, wert and grund (art is defined at row 5 and 7, grund and wert come with the eventHandler?
  16. Dont work same problem as with my version
  17. the current ElementData from the player "Art1" should be the new ElementData of "Art2" the current ElementData of "Art2" should be the new ElementData of "Art3" and so on and the art (which is definined in row 5 and 7 ist the new ElementData "Art1"
×
×
  • Create New...