-
Posts
1,283 -
Joined
-
Last visited
Everything posted by manve1
-
or onClientRender onClientPreRender
-
You have 58% progress of 'lua' in your signature, i am pretty sure you should know mcuh about maths in it by then, plus you should know the basics which include col shape making and for last, we are not here to make you free scripts/script parts.
-
More information maybe? like: Are you searching for a free scripter, or will you pay for it. If you're paying for it what's your budget... etc.
-
As I said before, there are no tents in GTA:SA, there are tepees (tipi) which have been replaced with a tent model + texture
-
That's samp, ain't as good as MTA, plus as I said, you have to replace original models to get a proper tent.
-
function requestNewMarkers () local poopMarkers = { {1816.8000488281, -2517.1000976563, 12.60000038147}, {-1348.6999511719, -235, 13.199999809265}, {416.20001220703, 2503.8000488281, 15.5}, {1572.0999755859, 1472.1999511719, 10.800000190735}, } local x,y,z = unpack(poopMarkers[math.random(#poopMarkers)]) reach = createMarker(x,y,z) guiSetVisible(jobWindow, false) blipD = createBlipAttachedTo(reach, 51) end function LS (hitElement) if source == reach then if hitElement == thePlayer then triggerServerEvent("onChakka", thePlayer, "yokohama") destroyElement(reach) setTimer(requestNewMarkers, 5000, 1) if isElement(blipD) then destroyElement(blipD) end end end end addEventHandler("onClientMarkerHit", getRootElement(), LS)
-
Tent like in dayz is a new model replacing a tipi. So try looking for a tent model and then replacing an original one.
-
Load each txd at different times. Note: Old txd will be replaced.
-
You'll hardly get free scripts.
-
Good luck on finding anyone that will be a professional + would make a gamemode for free.
-
You're multiplying with quite high numbers, which makes the text draw outside of the screen + you need eventHandler: onClientRender or onClientPreRender
-
Changing the textures for same object with a different .txd but it will change into the last texture you applied to the object, or you can make that every different client has a different texture on that model.
-
For pilot job, you need to make your own system for counting how many flights the person has done; When they fly over lets say from LS to SF and they hit a marker, then you add a flight to a variable, but, when you want to save the data, don't use setElementData as that gets removed when an element is destroyed, or for players: when they disconnect/quit. I would recommend using a table, then when the person disconnects/quits, save the data which was in a table in a database like SQLite or MySql. For the increase of payment with new and higher levels, simply just get the data on how many flights the person has done and use an if statement.
-
Never mind, I was asking for something a bit different, but I figured it out.
-
My point is, on the default scoreboard, when you scroll if there is enough players to scroll through, the top one gets removed and then another one is added on the bottom
-
Hello, As in long time I haven't asked a question. I have one currently and yes i have looked over the forums for the answer, couldn't find the right one. So my question would be this: As most should know, MTA has a default scoreboard and I am making my own one using Dx Functions, but before I started coding it, I found a problem, which would be; How could I code scrolling up/down on the scoreboard? Naming the functions will do.
-
I know, I didn't have much of time to write it, but anyway, let this topic get back on-topic.
-
I've proven a point that it can be made and to prove that it can be made, I gave a descriptive explanation on how it could be used, anything else from that point is what the person thinks is best for him.
-
For this type of script you will need to use both sides (client,server), for client it's easy as you won't need timers if you're using dx functions (dxDrawText,dxDrawRectange), of course to make it visible you need events (onClientRender,onClientPreRender), for the server side you will need to create your own system of saving stats on how many people were killed, and I assume it is going to be used in a team-death match server, so you will need to get peoples teams when they kill someone then trigger it to client side to display it, or save it for later use (for example: when the match ends, the scores are shown).
-
Okay, someone gave you that idea, but what is your problem?
-
As I said: If you don't understand, I am sorry, but it is not my problem, I just gave an example how to make it work while not in the vehicle.
-
You can actually control the doors while you're away from the vehicle, simply by using element data (not recommended), or a database like: sql, mysql, xml (recommended). You will need to use a timer or something to check the data then change on the vehicle.
-
Only thing I can say is: Good Luck.
-
Do you know even how to use php?
