Jump to content

Piorun

Members
  • Posts

    421
  • Joined

  • Last visited

Everything posted by Piorun

  1. Piorun

    3D hud

    rz = (rz * 3.141592653 * 2)/360; - are those radians, right? I think I forget about it. Thanks dude.
  2. Piorun

    3D hud

    To the left side of a Player. Anyway i dont want to attach element to Player but create something "near" Player. Something like i type "/create marker" and it create marker in the front of the player.
  3. Piorun

    3D hud

    or another question - could anyway send me here an algoritm to create something (np. marker) on the left side of a player. I think this should be made with sinus, cosinus or something like that.
  4. Piorun

    3D hud

    Is this possible to create 3D hud? I tried with getScreenFromWorldPosition and dxDrawMaterialLine3D but it doesnt work. Any ideas?
  5. Piorun

    Vehicles

    I have a bit problem with my vehicles on my server. When i get in my car and start riding and then i relase W but i dont press any other button my car slowing down, but using some brake. In any other servers it looks normaly - when i relase W button vehicle slows down but not inhibiting. Hope u understand me - if not i try to capture some video and then i send you an youtube link. Thanks for any advice.
  6. Piorun

    Stringing

    Ok so i know how to use it to check spaces but how to check big letters or small letters?
  7. Piorun

    Stringing

    Hi guys I want to operate on strings. So first - how to check if string have spaces and how to check that string have first letter big and rest small for ex. "George" is ok but "george" not.
  8. Piorun

    showing Cursor

    So i decided to change "showCursor" position to another resource and now its working. Thanks a lot .
  9. Piorun

    showing Cursor

    so i must call or something?
  10. Hi Why when i use "showCursor(true)" in one script (and cursor is showing) then i cant hide cursor in another script (using showCursor(false))? Its same on client and server side. I have 1.3.2 server ver.
  11. So today i have problem with my linux server. When i want to connect to my server im getting this error: What the fuck oO .. ? I tried to reinstall server but still i have this error. I tried, i think, everything.
  12. Nevermind I need it only on login screen so i dont have any binds there. How to do it?
  13. Hi guys How could i made this simple code which when i hit TAB then im moving to the next edit in for ex. table? Every edit i have definied in "guiEdit = {}" table.
  14. I solve this with "split" function . You can lock this topic.
  15. Hi guys Today i have a problem with words in string. So for ex i have string: Hi my name is paul im 20 and i want print only 3 words and after last add "..." like that: Hi my name... How?
  16. Piorun

    Sql problem

    I fixed that .. i thought that .db file is in main folder, but yes it was but i was in "database" folder too so i thought that this in main is my database which im connecting so i all the time open this one. Now i know it was wrong .. thanks for help.
  17. Piorun

    Sql problem

    Anyway - if i made some table in "database browser" i cant manage this table using db... functions.
  18. Piorun

    Sql problem

    Ye but when im opeining database with tables made by dbExec i dont see any in database structure. I have 2.0 b1 ver.
  19. Piorun

    Sql problem

    Another question - what is good program to open .db files?
  20. Piorun

    Sql problem

    Mhm ok i test it.
  21. Piorun

    Sql problem

    e ok but why "characterID" is "TEXT" type?
  22. Piorun

    Sql problem

    Hi guys - i have problem with my database. I made some db in "sqlite browser" and i made table named "characters" and then i put some records. Here is lua code: addEventHandler("onResourceStart", resourceRoot, function() database = dbConnect("sqlite", "projectsa.db") local query = dbQuery( database, "SELECT * FROM characters") outputChatBox(tostring(query)) local result, rows, msg = dbPoll(query, 0) if result == false then outputConsole( "dbPoll failed. Error code: " .. tostring(rows) .. " Error message: " .. tostring(msg) ) end end) , but when im starting script im getting: dbPoll failed. Error code: 1 Error message: no such table "characters" What's wrong? I'm sure that table is in there, and im get connection from "dbConnect" function and query from "dbQuery".
  23. Piorun

    Roads

    I want to create some traffic system and i have a question - how to get position of roads or something like this?
  24. I reainstalled my linux server - now i have debian-6.0-x86_64. When i put all files and i type "./mta-server" (yes, im in right direction) i have an error ".mta-server: No such file or directory". What's wrong?
×
×
  • Create New...