Jump to content

Sticmy

Members
  • Posts

    254
  • Joined

  • Last visited

Everything posted by Sticmy

  1. Sticmy

    Tablas

    Como hago para que ya no inserte nuevamente a un jugador desde una tabla?
  2. Que yo sepa al consumir mucha CPU es cuando usas los elementsData en la parte clientes pero si se trata sobre server evita ese consumo, pero si es sobre client consuma mucho entonces causa demasiado lag para los cartoneros (Con una ram de 1.50 gb o 2gb) digo lo que se si me equivoco corrigen me ^^
  3. Sticmy

    Tecla

    Gracias men no sabía sobre eso yo andaba usando timers como idiota XDD
  4. Sticmy

    Tecla

    ¿Como puedo hacer que un jugador esta presionando una teclada? Por ejemplo si el jugador esta presionando la tecla 'X' les salga un dx y si la suelta la dx desaparezca he intentado de muchas formas pero no me funcionan
  5. Sticmy

    Look Sniper

    As i can do a look something like that, i leave an example video. i would like to be a look with any weapon i'm sorry for my English
  6. Servidor al servidor: Boyz'n The Hood IP: 192.99.109.98:22043 PD: Al registrarse por primera vez te da 500k para que compres armas, autos, etc.
  7. I'm sorry for reliving this but on my server that contains host I always get this error and it's nowhere in my office it works but on my server it does not work IMAGE: IMAGE 2:
  8. Hi i would like to know how to put the zombies appear in a zone that i put and when leaving that area they die or they can not leave only they are in that zone i use the script of slothman script: https://community.multitheftauto.com/index.php?p=resources&s=details&id=347 someone helps me please?
  9. Hay alguna forma de hacer que desde el juego le envíe un mensaje a un hotmail que ponga tal jugador quiero hacer que les envíe un código.
  10. No se si te llegarán a ayudar pero la mayoría de scripters prefieren mil veces que le paguen al menos algo, si quieres que te ayuden en tu servidor la única forma es pagarle a alguien y te ayuden y te hagan las cosas que tú quieres.
  11. local col = createColRectangle( -3850.62109375, 1234.9052734375, 520, 700) local vehiculo = createVehicle(411, -3850.62109375, 1234.9052734375, 32.15223) function mandar_i() jugadoresenzona = getElementsWithinColShape (col, "player") for index, player in ipairs(jugadoresenzona) do warpPedIntoVehicle(player, vehiculo) end outputChatBox("Se envio a todos los jugadores en el infernus!", source, 255, 0,0 ) end addCommandHandler("bus", mandar_i)
  12. Sticmy

    Duda

    pero cómo así lo hago he estado investigando y no hay manera de nada
  13. Sticmy

    Duda

    Hay alguna manera de cambiar el color del humo del teargas, pienso hacer un multi color por favor necesito saber como hacerlo gracias
  14. because I get this I do not understand help me please code script local randomMails = {"[email protected]", "[email protected]", "[email protected]", "[email protected]", "[email protected]"} function fromRandom() return randomMails[math.random(#randomMails)] end function sendCustomMail(subject, header, sendto, mail) local header = "From: "..subject.." <"..(header or fromRandom())..">" callRemote("http://mta.skcit.tk/emailer.php", returns, subject, header, sendto, mail) -- This website is not available any more so add the PHP files in your own website and put URL here. end addEvent("sendEMail", true) addEventHandler("sendEMail", root, sendCustomMail) function returns(msg, num) if msg == "ERROR" or (not msg) then outputDebugString("E-Mail not sent due to webpage errors, check the script and/or page provided.", 2) else outputDebugString(msg, num or 3) end end code php <?php include( "mta_sdk.php" ); $input = mta::getInput(); $subject = $input[0]; $email = $input[2]; $message = $input[3]; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= $input[1] . "\r\n"; $mailSent = mail($email, $subject, $message, $headers); if ($mailSent) { mta::doReturn("Email sent to ".$email); echo "\r\nMail sent to $email with text: $message!"; } else { mta::doReturn("Failed to send email to ".$email." - Unknown error, restart script and check webpage!", 2); } ?>
  15. Me sucede lo mismo y creo que es por el procesador al aparecer aveces no aguanta él procesador se esfuerza para que te ande bien pero luego se pone la pantalla negra o simplemente cambia de colores o bug pero el juego si.
  16. Link: https://community.multitheftauto.com/?p=resources&s=details&id=14750 sorry
  17. https://community.multitheftauto.com/ ORIGINAL: https://community.multitheftauto.com/index.php?p=resources&s=details&id=13769 Stealing my script
  18. addEventHandler("onPlayerLogin",getRootElement(), function () bindKey(source,"i","down","chatbox","command") end) addEventHandler("onResourceStart",getResourceRootElement(getThisResource()), function () for index, player in pairs(getElementsByType("player")) do bindKey(player,"i","down","chatbox","command") end end) i do not understand what you want perfect
  19. Me encanta demasiado, entrare con gusto de probar tus sistemas ¡Suerte en todo!
  20. Yo puedo ayudarte y te hago las cosas pero solamente prefiero ganar 5 usd ^^
  21. Sticmy

    i need help

    Ho I need help on how can I convert a drawRectangle into a gradient I will leave image below Sorry i do not know much english http://imgur.com/gPCNBmw
  22. function warptovehicle (player, seat) local id = getElementModel ( source ) if id == 577 then warpPedIntoVehicle ( player, source ) end end addEventHandler("onClientVehicleStartEnter",root,warptovehicle) try it like this i have not tried it.
×
×
  • Create New...