Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. J.S, if you haven't got anything to post then don't post! https://wiki.multitheftauto.com/wiki/Introduction_to_Scripting_the_GUI_-_Part_2 Mini-mission's RULES window is much different since it uses animations.
  2. I have a group named "Sr.Admin" which has full control over my test server, some times i invite people and i need to give them admin powers but they don't have enough to f*** something
  3. I don't really get what do you mean, maybe someone else does
  4. i mean, they are all with same name?
  5. varez is right, i was shocked when the other day he said to remove another post and someone did it.
  6. 1000 = TIME 0 = HOW MUCH TIMES WILL THE TIMER WORK 0 = INFINITE
  7. put the count players in team functions into onPlayerLogin function, this. a = createTeam ( "teamA", 0, 10, 200 ) b = createTeam ( "teamB", 0, 200, 10 ) function team (thePlayer) aCount = countPlayersInTeam ( a ) bCount = countPlayersInTeam ( b ) if aCount == 0 then setPlayerTeam" class="kw6">setPlayerTeam (thePlayer, a) outputChatBox ("A", thePlayer, 255, 0, 0, true) setElementPosition (thePlayer, 1021, 1120, 142) setPlayerSkin (thePlayer, 184) elseif bCount == 1 then setPlayerTeam" class="kw6">setPlayerTeam (thePlayer , b) setElementPosition (thePlayer, 100, 100, 100) setPlayerSkin (thePlayer, 162) end end addEventHandler( "onPlayerLogin", getRootElement(), team )
  8. You are doing something wrong, learn how to install/edit scripts. it worked fine at my server without problems. P.S: i will stop posting on this topic because you won't even learn how to edit a script.
  9. Castillo

    I need help

    hunter top times (if i'm right ) https://community.multitheftauto.com/index.php?p=resources&s=details&id=1345 and for the admin levels you need to learn how to script (we aren't going to make it for you ) https://wiki.multitheftauto.com/wiki/Scripting_Introduction
  10. open server.lua and remplace "Sr.Admin" with "Admin" and then should work.
  11. your function is not the right syntax: right syntax: function nobum() wrong syntax: function nobum
  12. are you a kind of spammer, theclassic?
  13. Your post makes no sense, maybe edit it with something else?
  14. thats not true, i use executeCommandHandler in server side for some stuff and no problems.
  15. Oh my god!! i can't get this kid, he wants to get all done like varez said, but there is a problem trying to teach him because we don't get a word of him
  16. matxpl, i have same problems with the GUI and DXdrawing when i create with 1024 x 768 and players has different it will suck i think with https://wiki.multitheftauto.com/wiki/GuiGetScreenSize should work fine.
  17. i have a question, wtf is this? setPlayerTeam" class="kw6">setPlayerTeam" class="kw6">setPlayerTeam (thePlayer, fl) would that also work? and whats the difference?
  18. jesse, volk's code and mine are the same as yours
  19. what the... i don't get you, maybe try using a translator? O_o
  20. Castillo

    PETICION/QUESTION

    "missions" is not a map, you have to script that by yourself (we won't script for you) You can start learning how to script in the mta-wiki: https://wiki.multitheftauto.com/wiki/Scripting_Introduction https://wiki.multitheftauto.com/wiki/Introduction_to_Scripting_the_GUI
  21. you don't even read the code, right? login as admin and type /godmode damn kids
  22. Castillo

    PETICION/QUESTION

    there is a zombies resouce, this let you fight againts zombies with your friends. https://community.multitheftauto.com/index.php?p=resources&s=details&id=347 there is also the slothbot's https://community.multitheftauto.com/index.php?p=resources&s=details&id=672
  23. http://www.mediafire.com/?h861wg1q404be1w
  24. i gave you the code! just create a new folder and 3 files. 1. server.lua 2. client.lua 3. meta.xml and paste the code acording to file.
×
×
  • Create New...