Jump to content

12p

Members
  • Posts

    2,608
  • Joined

  • Last visited

Everything posted by 12p

  1. Shoot A GTA Supermod (?) C.R.A.P.
  2. 12p

    I CAME BACK, MTA xD

    So, wazzup. Did u guys miss me?
  3. Mmmm... Eso se arregla con un script de 2 líneas. Sólo debes saber qué evento provoca el cambio de skin, y agregas esto a ese evento: hp = getElementHealth ( player ) setElementModel ( player ... ) --ESTO YA ESTA EN EL SCRIPT, ES UNA GUIA PARA AYUDARTE, NO LO PONGAS!!! setElementHealth ( player, hp ) Donde "player" es el elemento jugador usado en el script. Si el script es del freeroam, se debe reemplazar por "g_Me", si mal no recuerdo.
  4. I meant, to replace the capitals "path" word by something else. PATH was for making some difference between "path" and "path". This should work... local soundss = {} function startSirene ( vehicle ) local x,y,z = getElementPosition ( vehicle ) local path = playSound3D ( the_file_path, x, y, z, true ) --the_file_path variable must be supplied, huh. attachElements ( path, vehicle ) soundss [ vehicle ] = path end addEvent( "onNewRadioCreate", true ) addEventHandler ( "onNewRadioCreate", getRootElement(), startSirene )
  5. The thing I don't like about these maps is, people that don't have too much PC power, can't pass those jumps, due to FPS lack (because of poor video, RAM or processor). Me? I have 64 mb video card, and even though I do my best, I can't pass many maps.
  6. Using twice "path" variable may bug the script. Change text in capitals for something else. local soundss = {} function startSirene ( vehicle ) local x,y,z = getElementPosition( vehicle ) local path = playSound3D( PATH, x, y, z, true) attachElements ( path, vehicle) soundss [ vehicle ] = path end addEvent( "onNewRadioCreate", true ) addEventHandler("onNewRadioCreate", getRootElement(), startSirene)
  7. OK. Didn't know it works for 1.0. However, I don't like it too much... The colors are a bit nonsense
  8. CS:S is not the only one that makes possible to find servers by map name. This is off-topic but true
  9. Do you mean "interesting" to find more than 40 servers running the same Basemode gamemode? (I know there are some of them that made changes but are about 5%)
  10. You should remind users that this is only for MTA 1.1... Because some people may not know if this works or not. Anyway, thanks, mate .
  11. Si puedes. Agrega un simple script a tu mapa, y pon esto ahí (el script debe estar en server): setElementAlpha ( getElementByID ( ID ), 0 )--"ID" significa el nombre del objeto, eso que te sale al ponerlo en el mapa... Eso lo hace invisible, pero seguirá ahí, siendo palpable y detectable
  12. function getStupidnessReason ( ) return getUserSignature ( getUserFromName ( "Puma" ) ) end LoL.
  13. Actually I did it but none of the 3 methods I tried worked. Maybe I'll just ignore this part.
  14. This is quite useless... You can create a CMD for this in less than 5 minutes.
  15. 12p

    Weapon texture

    Are you stupid or WTF? This post should be closed because you bumped it while it is already answered... What part of this, don't you understand?
  16. This is the biggest asshole ever seen. https://community.multitheftauto.com/ind ... ls&id=1588
  17. When 1.1 is ended I'll continue this, as simple as that!
  18. No. MTA has that object limiter trouble... Until MTA 1.1 I won't do anything... LoL.
  19. 12p

    Ayuda

    busca a DZEK. tiene el link en su firma lol.
  20. 12p

    Algorithm

    Okay... This is REALLY wrong, it's too much problem. There is an easy way to do that, that works client and server side. function checkKills ( pl ) if isElement ( pl ) and getElementType ( pl ) == "player" then --Check if "pl" is a player... local k1 = getElementData ( pl, "kills" ) --Now get the kills local a, b = math.modf ( k1 / 500 ) --math.modf returns INTEGER and DECIMAL... if b == 0 and k1 ~= 0 then --If the DECIMAL is 0 and the kills are different from 0 (prevent a possible bug...) setElementData ( pl, "rank", k1 / 500, true ) --Set the level (level is defined by the kills divided by 500: 500 = 1, 1,500 = 3, 500,000 = 1,000). end end end Then use some event handler attached to that. I don't know how you are supposed to set the element data that defines the kills but that is your problem PS. Remember to set the data to accounts, too, to save stats
  21. Mira creo que el problema podria estar en la version del gta. Ya que hay varias por pais y etc... Toma descarga esto. Pero si por casualidad tu gta lo bajaste de steam estas hecho mierda. no puedes hacer nada y tienes que comprar/descargar otro... Si no tienes el gta san andreas del steam entonces con el link que te di deberia solucionarse. Si no lo hace entonces te hare un ticket de soporte... Pero veamos que pasa.
  22. 12p

    Setcash command

    function setCash ( sourcePlayer,cmd,who,amount) if ( not who and not amount ) then outputChatBox("*Use /setcash [Name] [amount]", sourcePlayer, 180, 0, 0 ) end local gived = getPlayerFromName ( who ) if not gived then outputChatBox("The player "..who.." is not connected", sourcePlayer, 180, 0, 0 ) return end --If you want to stop the function, use "return". account = getPlayerAccount(gived) if not isGuestAccount ( account ) then local playerCash = getAccountData ( account, "data.cash" ) local success = setAccountData ( account, "data.cash", tonumber(playerCash)+tonumber(amount) ) if success then outputChatBox ( "Your cash has been setted.", gived ) outputChatBox ( "You've setted his cash.", sourcePlayer ) else outputChatBox("ERROR: His cash his not setted", sourcePlayer, 180, 0, 0 ) end end end addCommandHandler ( "setcash", setCash )
×
×
  • Create New...