
xyzii
Members-
Posts
53 -
Joined
-
Last visited
Everything posted by xyzii
-
So, I'm in middle of making a dx GUI script. Currently working on window, got it done except that I can't figure out the math to position the text on top of the GUI. I need to calculate the middle position (so it works for every size) of a DX Rectangle by using the starting point of the rectangle, and its' length. I guess screen size could be used with this but I can't figure it out. Start X = 901, Width X = 119 Thanks.
-
Just go to map editor remove it and put on your server, might take some time tho
-
Loop through all the blips when player joins or the script restarts and insert them into a clientside table with the properties needed. Then loop through that table on client?
-
So I'm making a map that includes CJ's house being removed but this black box is still here after removing the house. How can I remove this? Nvm, found the model
-
Because it only sorts the dates in the right order, not the table that is inside a different column, I NEED TO SORT THE TABLE IN THAT COLUMN or am I understanding something wrong about ORDER BY ASC/DESC?
-
There is a column in the updates database, the column has a day, month, year number. Second column has a table of the updates. I want to sort the table of the updates, not how the database is sorted. I want that '- Added /updates' to be on the bottom when '- Added locking' should be on the top since that was newly added.
-
Hey, can you read? "(The meaning is not to sort the rows coming from the database but the table that is in the database row.) "
-
So I'm making an updates script with a database. It's finished but there's a flaw. The oldest updates come on top. I know I have to use table.sort (The meaning is not to sort the rows coming from the database but the table that is in the database row.)
-
Hey, as the title says, I'm selling a world object deletor which you can use ingame. It also includes a GUI that you can use to restore the world models and warp to their old locations. Also this script does include a database so that the objects you delete get saved. If you like to use a map editor ingame like me, this saves the hassle of going to MTA's own map editor and getting the ID and LOD from there. I also added an ID tool to the script. You can get more info by contacting me on skype: greedofveeti Image of the GUI:
-
Yes, use <file src="filename.type"/> in meta
-
Thanks for your help, got it working!
-
So I have made an updates script with database. It adds a rows to a gridlist but it adds from oldest to newest. How can I make it so the newly added updates are first?
-
setElementData or tables for fuel amount, setTimer and getVehicleEngineState for reducing fuel when engine is on. getPedOccupiedVehicle for getting player vehicle.
-
Wouldn't everyone basically have access to the data in the XML file if they just decode it using teaDecode?
-
Did it the way you told me to and it's fixed now, thanks 3aGl3!
-
con:exec("CREATE TABLE IF NOT EXISTS ´"..player.account.name.."´ ('num', 'veh', 'x', 'y', 'z', 'rot', 'bp', 'ups', 'plate', 'hp', 'fuel', 'lock', 'r', 'g', 'b', 'r2', 'g2', 'b2', 'paintjob')")
-
logged in as '$ ad 12-@dd' dbExec failed; (1) near "ad": syntax error
-
Hello, I have a problem with my vehicle system and logging systems that are based on account names. So when someone registers an account that has symbols like @, - etc in it, the databases give syntax errors
-
I got it to work when I used tonumber(num), but thanks for your help anyway, you taught me a bit about SQL that I didn't know
-
It returns as the number it's supposed to be