Jump to content

Suerte

Members
  • Posts

    65
  • Joined

  • Last visited

Everything posted by Suerte

  1. Suerte

    Binds actual

    Presiona ; para activar todos los binds para ware Presiona - para desactivarlos Presiona mouse2 o clic derecho para mover Presiona Q y E para teletransportarse (antes de matar a alguien) Usa la rueda de desplazamiento del ratón para atacar
  2. Hola. Soy la Serpiente que anda por el bosque y aquí hay una fruta del Árbol del Conocimiento. Las teclas más usado y sus descripciones 2 = Sniper rápido 3 = Escopetas con balas infinitas 6 = Uso estos cuando hago spawn 7 = Para modificar los vehículos # = Borrar tus vehículos z = Volar ; = Activar los binds para knife - = Desactivarlos Knife (Fuera de Ware) Knife (Ware)
  3. Thanks for checking out the script! The resource does have an export function (givePlayerWeapon) that you can use in your own script. The generic example is in the resource description. If you want it to affect pickup items, I think you need to get it to work with onClientPickupHit. allweapons is just a quick demonstration & proof of concept for people like you to innovate and improve on it feel free to modify/copy it, good luck!
  4. Same result, but thanks. Ah, I just realised the problem. When row index 0 is deleted, index 1, 2 .. etc. are shifted upwards to 0, 1.. so the next index 1 that is being deleted is actually the original index 2, but the original index 1 never gets touched. I guess it worked that way for all the odd numbers. Tests confirmed it. Solved code: for i=0,rowCount do guiGridListRemoveRow(cart,0) end
  5. I am trying to delete every row in a GridList (named cart): for i=0,rowCount-1,1 do if guiGridListRemoveRow(cart,i) then outputChatBox("row "..i.." removed") else outputChatBox("err") end end However, only indexes 0, 2, 4 .. etc. are deleted. Despite this, the debug information in the ChatBox shows there are no errors. i.e. with 4 rows, it will show: row 0 removed row 1 removed row 2 removed row 3 removed But it only works for the even indexes. So when I show the GUI again, index 1, 3, 5 etc.. are still there. It's probably a noob mistake but yano.
  6. Suerte

    HELP: TXD. wtf

    Yes, the function was definitely called on the resource start. Nice resource generator though But that is a weird thing qaisjp.. This morning I thought I'd try again but it was already working! Cool, I think. EDIT: just for the future.. if you have already logged into your server, you need to restart MTA to load the skin.
  7. TXD CLIENT.LUA resourceRoot = getResourceRootElement(getThisResource()) function loadTXD() local txd = engineLoadTXD ( "FAM1.txd" ) --returns userdata engineImportTXD ( txd, 105 ) --returns true end addEventHandler('onClientResourceStart', resourceRoot, loadTXD ) META.XML <meta> <info author="suerte" type="script" version="1.0.0" /> <script src="server.lua" type="server" /> <script src="client.lua" type="client" /> <file src="FAM1.txd" /> </meta> Help So what did I do wrong? Console looks like everything worked.. it just.. doesn't work. I hope its something stupid i'll keep at it but any help is massifly appreciated.
  8. Suerte

    Hello again

    MTA does have an active community! RP is still gay so I don't know how far they've succeeded in 'keeping people in check'
  9. Suerte

    Is it possible?

    that would be awesome. really MTA is not far from being its own game and i think it could really benefit from the flexibility of it (not that I know anything about coding, but I imagine so). Maybe the MTA team can do it already but its avoided because including original GTA would increase the download to 4.5gb either way i would download it lol
  10. Yes, you are right. I was about to request it moved. Also, thank you very much!!!!!!
  11. CLIENT: --gui button leads to triggerServerEvent ( "onChooseSpawn", getRootElement(), 105 ) SERVER: addEvent( "onChooseSpawn", true ) function spawnHandler ( skinID ) setCameraTarget ( getRootElement() ) fadeCamera(getRootElement(), true ) spawnPlayer(getRootElement(), 2495, -1685, 14) end addEventHandler( "onChooseSpawn", getRootElement(), spawnHandler ) The event is triggered and the function starts. This part works. The command spawnPlayer(getRootElement(), 2495, -1685, 14) does not work however giveWeapon( getRootElement(), 34, 1000 ) does work? Note: I used "onPlayerJoin" and "onPlayerDeath" and spawnPlayer(source, 2495, -1685, 14), and that works. But I need it to work with the GUI
  12. ok thats good. i would launch a server myself but I can't pay for it but i do want to make a merge of stealth and basemode
  13. stealth isn't dead! but a lot of people are noobs so its harder for them to have fun when getting raped every round
  14. There is a solution. If everyone is getting 300ms ping because of distance from the server, then get a south african server
  15. I kind of like it. It's a lot of fun to kill people with and it's like another feature in the game. I suppose I wouldn't mind if it was fixed, but i'm not going to push for it lol.
  16. What's the point of having a Suggestions forum if you're just going to tell people they should code it themselves? I do like this suggestion.
  17. It feels a bit pointless really, because of the nightly's. Later versions will still continue and so, if you play them, the next version won't be as cool. This time it was alright though, cause I stopped playing the nightly's about a month ago. EDIT: On a happier note, MTA 1.0 is awesome. SFPG is a good extension of the awesome.
  18. I've never thought camping was noobish in SA since, as Slothman says, it's a lot to do with strategy. Sometimes that's waiting for the enemy to come to you, as it's really easy to pull off headshots when hiding behind a wall. I haven't ever thought of using the camera with satchels, i've always camped at the satchel area or waited for the blips to be in the right place Nice idea.
  19. So does it only work for Linux? Or can we use it with Windows too? I don't know sh!t when it comes to anything to do with Linux, lol.
  20. Suerte

    wtf? speed hack

    You should also check if you have modified your handling.cfg. It isn't exactly a "hack", however it does give the same impression and is generally considered a bannable offence. BTW, what is your first language?
  21. You can do that normally ( get this: http://www.fileradar.net/files/view/Gra ... dreas/5369 ). I dunno if it will work with MTA though.
  22. Suerte

    Resource center

    I can help translating into comprehendable spanish until some Spanish guy comes along and fixes any errors EDIT: This is the best I can do for the main page.
  23. All of these seem like drawbacks. I know that's basically how RP is.. just something I probably wouldn't enjoy (sreh) Too much FR, RP and Race these days. What happened to the DM days of 0.1 -> 0.5 Really need to setup a TDM/Stealth server, lol.
  24. Same error. I'm also logged in. K, now i'm just timing out.
×
×
  • Create New...