-
Content Count
109 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout Gr0x
-
Rank
Punk-@ss B*tch
Details
-
Location
Hungary
Recent Profile Visitors
570 profile views
-
Then I don't know what the problem is, it totally worked fine for me. I could hide the markers and blips using runcode These are the commands I used: crun for q,w in pairs(getElementsByType("marker")) do setMarkerSize(w,0) end crun for q,w in pairs(getElementsByType("blip")) do setBlipColor(w,255,255,255,0) end
-
I'm assuming that's not a client sided script then, is it?
-
It worked fine for me when I tried, if I understood your question correctly. Could you show me the code you're using?
-
You're using setElementVisibleTo, which is server-sided. race_client.lua creates the markers on the client. Try using a client-sided script
-
I downloaded MTA again a few weeks ago, after not playing it for about 1-2 years. Every time I open it, GTA opens, I can see the GTA San Andreas "splash/title" screen, but right before it would fade away and take me to the main menu, my client crashes without any errors. I can see the cursor changing to the loading one for about half a second, and then there is nothing. mtasa/gtasa/proxysa is not running after that. There is a version that worked however, which was this: mtasa-1.5.4-full_rc-11690-20170927 I have no idea why that particular version works. I've tried other ones, but all
-
It doesnt. I just tested it myself. Make sure your script is client sided. However, seems like Walid's solution is much better, so you don't need fileExists anyways.
-
If you check it client-sided, it should return if it exists on the client, not the server.
-
downloadFile Haven't played MTA for a while, just checked the forums, but I think that might help you.
-
I just gave you two wiki pages full of examples.
-
callRemote getElementsByType("player")
-
local playerVehicle = getPedOccupiedVehicle(localPlayer) if playerVehicle then --code end
-
You got 2 advices on how to do it. Do it yourself, so you can learn it. If you can't make it, post what you tried, and I'll help you.
-
function setPlayerDataText(text) if client then local Cuenta = getPlayerAccount (client) setAccountData(Cuenta,"usuarioTexto",tostring(text)) end end addEvent ( "setPlayerDataText", true ) addEventHandler ( "setPlayerDataText", getRootElement(),setPlayerDataText) https://wiki.multitheftauto.com/wiki/Sc ... erverEvent And you also forgot to get the "usuarioTexto" string.