-
Posts
1,423 -
Joined
-
Last visited
-
Days Won
19
Everything posted by Tekken
-
Hi I was wondering does putting math.randomseed(getTickCount()); into one of my server side timer and one of the client side timers give me better math.random results? if not what will be the best way of using this for the best random results?
-
getPlayerAccount , you are not passing a player element, may I see your login.lua and also may I know when does this happen ?
-
Not sure as I also need to know how many lines etch label have.
-
The problem is that I have different size strings so that's a matter of knowing the exact spot, I think I will stay with the memo for now
-
Hello again, I have tried with one single label but unfortunately it does not work, I have tried your way also @Hydra but I have another problem, it's the spacing between labels are either to big either to small, so now I'm searching a way of detecting the size of the past label so I can create the next one from where the last one left
-
I haven’t tried tho, the scrollpane may work with just one label. Thank you tho.
-
On wiki it haze an label per example
-
Bit will this work with a single label?
-
Hmm Hello, as the title says what will be a good way to scroll a gui label ? Thank you.
-
I sugest element data for things you are going to request frequently and trigger event for things you request less frequently. after that you can also create tables and sync them using trigger event but that’s a little harder.
-
setPlayerNametagColor ?
-
Have you took a look at the getRealTime page on the wiki? https://wiki.multitheftauto.com/wiki/GetRealTime also can you please explain what are you trying to archive?
-
Try this one: local t ={ {2450, -1670, 12}, {2455, -1670, 12}, {2460, -1670, 12} }; local markers = {}; addEventHandler("onResourceStart", reosurceRoot, function() for i,v in pairs(t) do markers[i] = createMarker(v[1], v[2], v[3], "cylinder", 2.5, 255, 255, 255); addEventHandler('onMarkerHit', markers[i], function (hitElement) if getElementType(hitElement) == "player" then if isPedInVehicle(hitElement) then outputChatBox('Vehicles not allowed.', hitElement); else setElementPosition(hitElement, 2400, -1650, 12); outputChatBox("You're spawned.", hitElement); end end end); end end);
-
setElementData(player, "jailtime", 10*1000) set jailtime for 10 secondes; element data is synced between client and server
-
https://wiki.multitheftauto.com/wiki/Call
-
Use getTime or getRealTime to store the time of the jail start and use it to see how much time have he spent in jail.
-
t ={ {2450, -1670, 12}, {2455, -1670, 12}, {2460, -1670, 12} } for i, v in pairs(t) do a = createMarker(v[1], v[2], v[3], "cylinder", 2.5, 255, 255, 255) addEventHandler('onMarkerHit', a, function (player) if source == a and getElementType(player) == "player" then if isPedInVehicle (player) == true then outputChatBox('Vehicles not allowed.', player) else setElementPosition(player, 2400, -1650, 12) outputChatBox("You're spawned.", player) end end end) end All you have to do is to move the event handler within the for loop.
-
Fast loot in inventar tinand apasat Shift Stanga si apasand pe item Click Stanga pentru a muta mai rapid itemele dintr-o parte in alta. Plus adaugat zone risc: https://imgur.com/a/zoC1V2X in aceste zone zombii sunt de pana la 3 x mai rezistenti si de pana la 3 x mai puternici. (Dupa ce mor acestia vor lasa loot military); Plus adaugat 4 misiuni noi cu 4 caractere noi: Cercetatorul John, Doctor Alexandru, Dictatoarea Diana, Agentul Cop; Plus multe alte modificari si optimizari (in mod special in inventar), toate acestea vor fi listate in changelog la momentul updateului. Toate astea fiind spuse as avea nevoie de cineva care sa ma ajute cu mappingul, cineva interesat? Multumesc pentru timpul acordat.
-
https://wiki.multitheftauto.com/wiki/IsElementInWater Not sure this work for vehicles.
-
It depends on how the resource deals with money, it may check for money as element data so if you set yourself money with givePlayerMoney it will not recognize it. Will you point out the resource please?
-
I’m pretty sure ENB does use asi mods and those are not allowed on MTA.
-
Da stiu, @Zorgmanmi-a dat o idee interesanta si am sa o aplic, aceasta fiind sa incerc sa dirijez jucatorii in aceste zone, ieri seara am pus la punct un sistem de ‘bosi’ zombii care sunt mult mai greu de ucis (si fara headshot) insa au un loot la fel de bun ca in airdrop sau zonele military, in plus de asta am sa adaug misiuni cat mai multe care sa se desfasore in aceste zone. Sper totusi, avand in vedere ca sv e cam gol, sa nu muncesc la toate sistemele astea degeaba. Oricum merci pentru feedback!
-
RemoveWorldModels - will need a LOD remover also as some objects have lods that still appears.
