-
Posts
421 -
Joined
-
Last visited
Posts posted by Piorun
-
-
-
-
-
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.
-
-
-
So i decided to change "showCursor" position to another resource and now its working. Thanks a lot .
-
so i must call or something?
-
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.
-
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.
-
Nevermind
I need it only on login screen so i dont have any binds there. How to do it?
-
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.
-
I solve this with "split" function . You can lock this topic.
-
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?
-
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.
-
Anyway - if i made some table in "database browser" i cant manage this table using db... functions.
-
Same.
-
Ye but when im opeining database with tables made by dbExec i dont see any in database structure. I have 2.0 b1 ver.
-
Another question - what is good program to open .db files?
-
Mhm ok i test it.
-
e ok but why "characterID" is "TEXT" type?
-
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".
-
-
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?
3D hud
in Scripting
Posted
rz = (rz * 3.141592653 * 2)/360; - are those radians, right? I think I forget about it. Thanks dude.