-
Posts
80 -
Joined
-
Last visited
Everything posted by Motar2k
-
La contraseña no puedes verla ya que se encuentra hasheada, ahi mismo en el internal.db se encuentran esos datos. Tambien puedes obtener las cuentas mediante la funcion getAccounts()
-
Te recomiendo sublime text, ya que para este existen herramientas creadas por usuarios de la plataforma, por ejemplo el autocompletado que mencionas. @Svartskogensi te animas a usarlo aqui te dejo el link de la extencion:
-
@Kateeh Que error sale exactamente?
-
Que tal @Fed3x_xD nececito mas detalles para poder ayudar, el EVENTO que "avisa" cuando un jugador choca con un marcador, se encuentra en clientside o serverside? si desconoces estos datos revisa el meta.xml de tu resource y ahi saldra el nombre del archivo y su tipo.
-
No es recomendable, ya que de igual manera eso no evitar el spamneo de autos.
-
Que tal @iann en la lista de ACL del admin panel estan los permisos de cada grupo en el ACL, ahi puedes modificarlos
-
[Ayuda] - Sistema de fogatas con el dynamic lighting
Motar2k replied to Jakepankeke's topic in Scripting
El problema esta en que creas la luz con la misma variable, entonces cuando se crea otra se destruye la anterior y se crea una nueva Revisa este otro post para que te des una IDEA de como crear una "variable" para cada jugador -
No se arreglo lo de spawnear mas de auto?
-
Apparently you call the function but some error occurs, verify that the arguments you send to the function "mysql: insert" function are correct
-
@Taigas Apparently the values are not correct, use inspect to verify the data in the table
- 1 reply
-
- 1
-
-
@Raxzen Que tal, modifique tu codigo del serverside, el codigo no esta probado. --serverside local vehiculos = {} function generar_auto(vehiculo,posx,posy,posz,player) if vehiculo and posx and posy and posz then if not vehiculos[player] or not isElement(vehiculos[player]) then vehiculos[player] = createVehicle(vehiculo,posx,posy,posz) outputChatBox("Auto creado",source) else outputChatBox("Ya tienes un auto", source) end end end addEventHandler("onPlayerQuit", getRootElement(), function() if vehiculos[player] and isElement(vehiculos[player]) then destroyElement(vehiculos[player]) vehiculos[player] = nil end end)
-
https://community.multitheftauto.com/index.php?p=resources&s=details&id=15572
-
La funcion vehicle_fire no se si funciona para todos los vehiculos, pero al parecer estas creando un proyectil en la posicion del shamal, pero no estas asignando un destino, prueba jugar con los argumentos de la funcion, en lo que ami respecta se ve bien
-
How can I get the bass from a sound. I understand that I have to use getSoundFFTData, but how can I apply it.
-
the resource is not compiled, you can check the code and adapt it on your server
-
No esta testado hojillas = {}; cigarros = {}; timers = {}; function crearHojilla(player) if not isPedInVehicle(player) then if getElementData(player, "hojillas") and hojillas[player] == nil and cigarros[player] == nil then hojillas[player] = createObject(model,x,y,z);--creando objeto y almacenandolo bindKey(player, "F","down", crearCigarro);--creando bind para llamar funcion crearCigarro bindKey(player, "X","down", pararWeed);--creando bind para llamar funcion pararWeed end end end addCommandHandler("crearHojilla", crearHojilla) function crearCigarro(player) if not isPedInVehicle(player) then if getElementData(player, "hojillas") and getElementData(player, "bolsitaweed") then destroyElement(hojillas[player])--destruyendo hojilla cigarros[player] = createObject(model,x,y,z);--creando cigarro unbindKey(player, "F","down", crearCigarro);--quitando bind de crearCigarro bindKey(player, "F","down", fumarCigarro);--creando bind para llamar funcion fumarCigarro end end end function fumarCigarro(player) --codigo al fumar removeElementData(player, "hojillas")--quitando hojilla removeElementData(player, "bolsitaweed")--quitando bolsitaweed end function pararWeed(player) if hojillas[player] and isElement(hojillas[player]) then destroyElement(hojillas[player]); hojillas[player] = nil; end if cigarros[player] and isElement(cigarros[player]) then destroyElement(cigarros[player]); cigarros[player] = nil; end unbindKey(player, "F","down", crearCigarro); unbindKey(player, "X","down", pararWeed); end
-
VIDEO https://streamable.com/qz8u9?fbclid=IwAR0vKKzIHSkDcFzHmIyTSDgWQVIEiXLAbcHA1fgJw0vze5SWULYtCvU78Uw
-
https://community.multitheftauto.com/index.php?p=resources&s=details&id=5060
-
Te hare uno y tu lo adaptas a tu servidor Quieres que al usar un cmd se cree una hojilla, despues con un bindkey crear el cigarro sin embargo para que esto suceda necesitas tener weed. Solo confirma si es correcto para mandar el codigo.
-
El error se entiende como: no se pudo llamar al resource sql. Ya que no esta el resource iniciado o contiene errores que impiden que inicie correctamente.
-
The resources are probably named the same as on the other servers, this would cause the data to overlap