-
Posts
222 -
Joined
-
Last visited
Everything posted by Chaz-CR
-
Bueno lo que quiero es que cuando creo un vehiculo, si sales de ese vehiculo se destruya algo con destroyElement, pero quiero saber que funciones usar, aca dejo lo que hice pero se que esta incompleto asi se dan una idea. PD: Solo quiero con este vehiculo no con todos! local marker= createMarker (-519.2216796875, -485.2724609375, 24.5234375, "cylinder", 2,255, 200, 0, 150) function carro (player) if getElementType(player) == "vehicle" or getPedOccupiedVehicle(player) then return end fadeCamera(player,false,1 ) setTimer(fadeCamera,1000,1,player,true,5 ) outputChatBox ( "#00FFFFLleva la carga", player,255, 200, 0,true ) createVehicle ( 514, -495.861328125, -490.5888671875, 25.517845153809 ) createVehicle (450, -529.654296875, -500.3349609375, 25.017505645752) end addEventHandler( "onMarkerHit", marker, carro )
-
Cambia esto en client. blackLoginScreen = true Por esto blackLoginScreen = false
-
Gracias una vez mas Castillo, funcionando perfectamente. Y a ti tambien Estrategia por tomarte tu tiempo y ayudarme!
-
segui tu consejo y lo hice onClientMarkerHit pero cuando algun player esta en el vehiculo aparece el gui y cuando no lo esta no aparece! function monstrar() if isElement(getLocalPlayer()) then if getElementType(getLocalPlayer()) == "player" then local iV = isPedInVehicle(getLocalPlayer()) if iV == true then guiSetVisible(ventana, true) showCursor(true) end end end end addEventHandler("onClientMarkerHit",markerDRIFT,monstrar)
-
Esta funcion me hace mostrar la gui que hice en client, pero se muestra para todos los players y no solo para el que pasa por el marker! Que puedo hacer? function tuneCar(tP) if isElement(tP) then if getElementType(tP) == "player" then local iV = isPedInVehicle(tP) if iV == true then local playerVehicle = getPedOccupiedVehicle ( tP ) triggerClientEvent("gui",root) end end end end addEventHandler("onMarkerHit", markerDRIFT, tuneCar)
-
Crealo mediante un script a ver si se te arregla, sino es algo en tu PC createMarker
-
Lastima por los PC Gamers, nada cuesta comprar un PS3 o un XBOX 360, solo de ahorrar un poco, ademas con esto se evita el lagg en la modalidad online del juego.
-
podria ser tu stream memory? Intenta usando el Stream Memory Fix, y si con eso no se te arregla es algo en tu server!
-
Vi en un post que respondio @Solidsnake14 que no se puede aumentar el alcance de la mira de sniper, pero tu otro problema es que no renderiza el lugar o que?
-
reinstala el server, ese archivo es como decir un .dll de windows y esta en la carpeta raiz del server de Linux intenta reinstalando el server.
-
ME gustaria saber que piensan de este juego? Alguien lo tiene? Vi unos gameplays y se ve demasiado bueno!
-
Dat Ass in the first picture XDD joking!
-
Pero obviamente este resource solo tiene una imagen, no lo creo necesario. De todas formas si lo pones bien tendrá el mismo resultado.
-
En la carpeta "login", te recomiendo pongas la imagen en el main del resource asi solo tendras que poner "logo.png" y no te complicaras tanto!
-
Just add the command in this table
-
Original: https://community.multitheftauto.com/ind ... ls&id=5928 Stole: https://community.multitheftauto.com/ind ... ls&id=7924 DONE
-
I saw this script by @Alexs_Steel local commandSpam = {} function preventCommandSpam() if (not commandSpam[source]) then commandSpam[source] = 1 -- New person so add to table elseif (commandSpam[source] == 5) then cancelEvent() outputChatBox("Please refrain from command spamming!", source, 255, 0, 0) -- This person is command spamming! else commandSpam[source] = commandSpam[source] + 1 -- Add one to the table end end addEventHandler("onPlayerCommand", root, preventCommandSpam) setTimer(function() commandSpam = {} end, 1000, 0) -- Clear the table every second
-
so you could try whit this! https://community.multitheftauto.com/ind ... ls&id=3284