-
Posts
21,935 -
Joined
-
Last visited
-
Days Won
6
Everything posted by Castillo
-
No se de que estas hablando, el nombre de la gang es el argumento del evento.
-
Watch this video: And here are the tables you must import: http://www.mediafire.com/?zzkb4nusfvvft66
-
Do you know how to import a table at least?
-
Shaders are client side, why would the VPS make any difference?
-
You must create a table on your MySQL database and then add each column, because if I'm right, the script doesn't add the table on it's own.
-
It is possible, you can setup an external http server.
-
dxDrawColorText ya no es necesaria, dxDrawText ahora soporta colores HEX, y es mas eficiente.
-
Yo te diria por empezar por crear un script para que cada jugador pueda jugar en el mapa que quiera, al mismo tiempo. Igual, para hacer esto vas a necesitar crear tu propio game mode de race.
-
You're welcome.
-
That's because the account doesn't exist, which is because you are using the wrong argument here: local new = dbQuery ( dbc, "SELECT * FROM Accounts WHERE name=?", accnt ) "accnt" is not the same as "account".
-
Show me the new code. Edit: This is wrong: local password = result[1] you aren't defining which column name you whish to get the data from, use this: local password = result [ 1 ] [ "password" ]
-
I said result [ 1 ], not result [ 2 ], as it only found one row for sure.
-
Use this to get the password column data: local password = result [ 1 ] [ "passwordColumnNameHere" ]
-
Podrias crear un script para quitar los scripts que no se usan.
-
I've tested it before posting it and it worked fine.
-
That function is "setPedWalkingStyle", the one that doesn't work is the one to GET the walking style form a ped/player.
-
I'm not sure, but I think the MTA will update all the passwords to sha256 when you update your server version.
-
Just compared both scripts, and they are the same. Topic locked.
-
controls = { { 'lst', id='skinlist', width=230, height=290, columns={ {text='Skin', attr='name'} }, rows={xml='skins.xml', attrs={'id', 'name'}}, onitemclick=showSkinID, onitemdoubleclick=applySkin }, {'txt', id='skinid', text='', width=50}, {'btn', id='set', onclick=applySkin}, {'btn', id='close', closeswindow=true} }, I wil take this ? and this is my code grid list function centerWindow(center_window) local screenW,screenH=guiGetScreenSize() local windowW,windowH=guiGetSize(center_window,false) local x,y = (screenW-windowW)/2,(screenH-windowH)/2 guiSetPosition(center_window,x,y,false) end addEventHandler("onClientResourceStart", resourceRoot, function() wnd = guiCreateWindow(1052, 184, 314, 510, "..:: [ Selection Skin's ] ::..", false) guiWindowSetSizable(wnd, false) centerWindow(wnd) guiSetAlpha(wnd, 1.00) guiWindowSetMovable( wnd , false ) gridlist = guiCreateGridList(21, 29, 283, 426, false, wnd) guiGridListAddColumn(gridlist, "Skin", 0.9) button = guiCreateButton(85, 465, 156, 35, "Spawn !", false, wnd) guiSetProperty(button, "NormalTextColour", "FFAAAAAA") end )function centerWindow(center_window) local screenW,screenH=guiGetScreenSize() local windowW,windowH=guiGetSize(center_window,false) local x,y = (screenW-windowW)/2,(screenH-windowH)/2 guiSetPosition(center_window,x,y,false) end addEventHandler("onClientResourceStart", resourceRoot, function() wnd = guiCreateWindow(1052, 184, 314, 510, "..:: [ Selection Skin's ] ::..", false) guiWindowSetSizable(wnd, false) centerWindow(wnd) guiSetAlpha(wnd, 1.00) guiWindowSetMovable( wnd , false ) gridlist = guiCreateGridList(21, 29, 283, 426, false, wnd) guiGridListAddColumn(gridlist, "Skin", 0.9) button = guiCreateButton(85, 465, 156, 35, "Spawn !", false, wnd) guiSetProperty(button, "NormalTextColour", "FFAAAAAA") end ) You got me wrong, I told you to use the XML file only, not the freeroam script. Use the XML functions to load the content of the XML into a lua table, then you can create a function which will get the skin name from the model.
-
If you stop freeroam, it'll be stopped for everyone, I doubt that's what you want to achieve.
-
Seems like this has gone waaaaay off topic, in the worst way possible. Topic locked.
-
Why do you need to add it there?
-
Bajate un programa llamado "xampp" que contiene "phpMyAdmin" en el cual podes manejar todo sin problemas.
-
addEvent ( "onPlayerJoinGang", true ) addEventHandler ( "onPlayerJoinGang", root, function ( gangName ) outputChatBox ( "Te uniste a la gang: ".. gangName .."!", source ) end )
-
Tenes que configurar un servidor MySQL.
