-
Posts
21,935 -
Joined
-
Last visited
-
Days Won
6
Everything posted by Castillo
-
What's the point of selling it if it's not allowed?
-
Teams = guiCreateGridList(1044, 298, 314, 409, false) local NTeam = guiGridListAddColumn( Teams, "No Team", 0.4 ) local XNN = guiGridListAddColumn( Teams, "XN", 0.3 ) local Admins = guiGridListAddColumn( Teams, "Admins", 0.3 ) function click ( ) local row, col = guiGridListGetSelectedItem ( source ) if ( row and col and row ~= -1 and col ~= -1 ) then local playerName = guiGridListGetItemText ( source, row, 1 ) outputChatBox ( playerName ) end end addEventHandler ( "onClientGUIClick", Teams, click, false )
-
No entiendo de que hablas.
-
Porque no se dejan de discutir sobre la ortografia de los demas y intentan ayudar? si no, no posteen y listo. @eldelahoz: Lo que podes hacer es esto: Una funcion que se ejecuta con el evento: "onClientRender", y ahi verificas si el jugador esta presionando una tecla, si lo esta, moves el colshape.
-
Create a column with the exported function: "scoreboardAddColumn", then make a timer which refreshes "money" element data every some seconds for every player.
-
Open your script with notepad++ and go to "Encoding" tab, set the encoding to "UTF-8 without BOM". If it still doesn't compile, check if your script has syntax errors.
-
Where is the marker created? you should create it server side, when a player hits it, set a variable, when another hits, check that variable, and when they leave, set it to false.
-
Would be better if the timer was of 1 second, not half.
-
Go inside the resource and open: "shop-client.lua" and change this: local weapons = {{31,3500},{4,15000},{5,500},{6,1500},{7,3500},{8,10000},{9,12000},{22,2500},{23,2700},{24,4000},{25,4200},{26,9000},{27,8000},{28,6500},{29,7000},{30,3500},{32,7800},{33,11000},{34,16000},{16,20000}} to this: local weapons = {{35,16000},{36,20000}} And then change: local vehicles = {{579,60000},{400,60000},{404,28000},{489,65000},{505,65000},{479,45000},{442,45000},{458,45000},{602,100000},{496,42500},{401,41000},{518,60000},{527,75000},{589,75000},{419,45000},{533,75000},{526,50000},{474,55000},{545,50000},{517,45000},{410,41000},{600,50000},{436,41000},{580,50000},{439,75000},{549,75000},{491,45000},{445,45000},{507,45000},{585,45000},{587,100000},{466,55000},{492,50000},{546,45000},{551,45000},{516,45000},{467,45000},{426,47500},{547,45000},{405,55000},{409,75000},{550,45000},{566,45000},{540,45000},{421,50000},{529,45000},{402,250000},{542,65000},{603,150000},{475,75000},{562,175000},{565,95000},{559,125000},{561,50000},{560,125000},{558,100000},{429,150000},{541,150000},{415,150000},{480,95000},{434,100000},{494,200000},{502,200000},{503,200000},{411,300000},{506,150000},{451,300000},{555,95000},{477,95000},{499,25000},{498,25000},{578,50000},{486,70000},{406,500000},{573,250000},{455,75000},{588,50000},{403,75000},{423,1000000},{414,50000},{443,75000},{515,75000},{514,75000},{531,12000},{456,45000},{422,45000},{482,95000},{530,12000},{418,45000},{572,12000},{582,50000},{413,50000},{440,50000},{543,65000},{583,12000},{478,35000},{554,50000},{536,75000},{575,75000},{534,75000},{567,75000},{535,75000},{576,75000},{412,75000},{568,75000},{457,12000},{483,45000},{508,40000},{571,10000},{500,55000},{444,250000},{556,250000},{557,250000},{495,100000},{539,75000},{485,12000},{431,60000},{438,45000},{437,60000},{574,12000},{420,45000},{525,75000},{408,50000},{428,65000}} to this: local vehicles = {{425,120000},{520,100000}}
-
Is on the description: Player versus Player for race.
-
You're welcome.
-
If your server is hosted on your PC, write on the server console ( black window ): "start " without the "".
-
Did you start the resource?
-
It doesn't matter.
-
Resource system supports .zip and folders, so you can just put it as a .zip.
-
I don't know about that, I don't really use handling functions at all.
-
You want to know how to install resources on your server? if so, then read this manual: https://wiki.multitheftauto.com/wiki/Ser ... our_server
-
Is not related to the top speed if I'm right, that would be "maxVelocity", this property sets the vehicle acceleration, the higher the value, the faster it'll accelerate.
-
What do you mean by "in other scripts does not work"? What are these "other scripts"?
-
That's because you are creating timer over and over again, you must define it and then kill it if it already started. function healthDepleting() local currentHealth = getElementHealth(gracz) setElementHealth(gracz,currentHealth - 0.002) end function setUp() if ( isTimer ( healthTimer ) ) then killTimer ( healthTimer) end healthTimer = setTimer(healthDepleting,500,0) end addEventHandler("onClientPlayerSpawn",getRootElement(),setUp)
-
Yeah, that was another option. You're welcome.
-
I found your problem, you set the "AlwaysOnTop" property to the character name label as well, which is overlaping the edit. Remove this: guiSetProperty (createCharacterWindowNameLabel, "AlwaysOnTop", "True")
-
Should be possible, yes.
-
Could be the problem, have you tried it without "AlwaysOnTop" enabled?
