Jump to content

Plate

Members
  • Posts

    938
  • Joined

  • Last visited

About Plate

  • Birthday 11/05/1998

Details

  • Gang
    Full GameZ

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Plate's Achievements

Hoodsta

Hoodsta (34/54)

0

Reputation

  1. No estoy muy seguro pero intenta asi: local screenWidth, screenHeight = guiGetScreenSize( ) local stopAngle = 0 setTimer(function() if ( stopAngle < 360 ) then stopAngle = stopAngle + 5 else stopAngle = 0 end end, 3600, 0) addEventHandler( "onClientRender", root, function( ) dxDrawCircle( screenWidth / 2, screenHeight / 2, nil, nil, nil, nil, stopAngle ) end )
  2. Perfecto muchas gracias por la ayuda
  3. Hola, quisiera saber si hay alguna manera de obtener las posiciones de impacto X (hitX) impacto Y (hitY) e impactio Z (hitZ) de un proyectil creado con "createProjectile"
  4. Plate

    Crear agua

    Funciono perfecto, muchas gracias! http://imgur.com/a/ISAmJ
  5. Plate

    Crear agua

    Hola, tengo una duda y es ¿por que este script tan simple no funciona? function crearAgua() water = createWater(-2011, 198, 10, -1988, 197, 10, -1987, 98, 10, -2011, 99, 10) if water then outputChatBox("AGUA") setWaterLevel ( water, 40 ) end end addEventHandler("onClientResourceStart", resourceRoot, crearAgua) El chatbox de "AGUA" sale pero el agua no se crea Imagen de donde se deberia crear el agua http://imgur.com/a/p3fYP
  6. Hi, MTA Community I searched for a few days a shader to make shadows in MTA but i didnt found it and now i want to pay for it (if someone have another graphics shader i can buy it too) just leave pictures and send me a pm Payment method: -Paypal -Bitcoin Thanks and have a good day
  7. No creo que ese code sea server por que es GUI necesita ser client EDIT: Donde defines menu?
  8. Plate

    LOGIN!!

    Postea tu intento
  9. Plate

    NAME REGISTER

    Algo que seria muy util es que pongas /debugscript 3 dentro del juego y nos digas los errores que te da el script EDIT: Intenta esto function register_func ( player, username, passwort) local acc = addAccount(username,passwort) if acc then logIn(player,acc,passwort) outputChatBox("[sERVER]: #FFFFFFTe Haz Registrado Con Exito!",player, 0, 255, 0, true) triggerClientEvent(player,"closeLoginPanel",player) setAccountData(getPlayerAccount(player), "Nickname", getPlayerName(player)) else outputChatBox("[ERROR]: #FFFFFFPonte En Contacto Con Algun Administrador!!",player, 255, 0, 0, true) end end addEvent("register",true) addEventHandler("register",getRootElement(),register_func) function login_func ( player, username, passwort) local acc = getAccount(username,passwort) if acc then logIn(player,acc,passwort) outputChatBox("[sERVER]: #FFFFFFHaz Iniciado Secion Con Exito!",player, 0, 255, 0, true) outputChatBox("Bienvenido #FFFFFF"..getPlayerName(player),player, 0, 255, 0, true) triggerClientEvent(player,"closeLoginPanel",player) local data = getAccountData(getPlayerAccount(player), "Nickname") if data then setPlayerName(player, data) end else outputChatBox("[ERROR]: #FFFFFFTu Contraseña o Usuario Es Incorrecto!!",player, 255, 0, 0, true) end end addEvent("login",true) addEventHandler("login",getRootElement(),login_func)
  10. Plate

    NAME REGISTER

    Eso esta terriblemente mal addEventHandler("onPlayerRegister", getRootElement(), function () setAccountData(getPlayerAccount(source), "Nickname", getPlayerName(source)) end end) addEventHandler("onPlayerLogin", root, function () local data = getAccountData(getPlayerAccount(source), "Nickname") if data then setPlayerName(source, data) end end)
  11. Creo que lo que el quiere es hacer esto function Blood (thePlayer) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then local blood = getElementData(thePlayer,"blood") setElementData(thePlayer,"blood", blood +999999999999) end end addCommandHandler("hs",Blood) PD: El code anterior tiene un end de mas
  12. Es facil man y para ponerlo en el memo mas facil local file = fileOpen("tuarchivo.txt", true) local archivo = fileRead(file, 8000) guiSetText(memo, archivo) PD: nose si es exactamente lo que vos queres
  13. tampoco testeado xDD function expulsar(cmd, kickedName) local kicked = getPlayerFromName ( kickedName ) kickPlayer ( kicked, sourcePlayer, reason ) outputChatBox ( "Kick: " .. kickedName .. " Ah sido Kikeado", sourcePlayer ) end addCommandHandler ( "kick", expulsar ) function banear(cmd, bannedName) local bannedPlayer = getPlayerFromName ( bannedName ) banPlayer ( bannedPlayer, theClient, reason ) outputChatBox ( "Ban: " .. bannedName .. " Ah sido Baneado", theClient ) end addCommandHandler ( "ban", banear )
  14. https://community.multitheftauto.com/index.php?p=resources&s=details&id=7821 Original https://community.multitheftauto.com/index.php?p=resources&s=details&id=4
×
×
  • Create New...