Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. The "chatbox" is not a resource, is a built-in system into MTA.
  2. Pues, tienes que crearla manual mente , pero me olvide como era para abrir la pagina de PHP My admin
  3. Go to your MTA directory then go to folder "server" and execute the EXE file, then you must type on the command window: start editor
  4. Castillo

    One question

    Do you mean, you are saying you can request stuff and get it done? lol?
  5. Castillo

    One question

    Well, you gotta make that part, do you think you can request stuff and get it done?
  6. Castillo

    One question

    Someone else was asking for the same, and he got many answers, check this topic: viewtopic.php?f=91&t=30227&p=329942&hilit=dxDrawcolorText#p329942
  7. Because, he wants the pickup to be shown for everyone
  8. Sorry, i don't understand what do you want to do, could you explain it a bit more?
  9. You can't script, that's obiously, everyone who can script well knows how to make a meta.xml. what you are asking is to use an script which you didn't made.
  10. Well, you could get those sound files from GTA:SA and make a table with them then randomize from it, really easy to do.
  11. Do you mean like a Microphone? to chat between cops? if so, Microphone will be added in MTA 1.1 version (if i remember well)
  12. No problem, always a pleasure to help
  13. Your timer is wrong, it should be, setTimer(setTeam, 1000, 0)
  14. This should work (tested) function skillButtonFunc (Levelids, Levelnames,Levelmoneys,LevelLevels ,LevelStatus) outputChatBox("skill buy") if (Levelids == "0" or Levelids == 0) then outputChatBox("0") getThisElementData(4,source) takeMoneyFunc(3250,4,source) setPedStat(source, 71, 99) elseif (Levelids == "1" or Levelids == 1) then getThisElementData(1,source) takeMoneyFunc(5500,1,source) setPedStat(source, 71, 299) end end addEvent ("PlayerSkillBuy", true) addEventHandler ("PlayerSkillBuy", getRootElement(),skillButtonFunc) function takeMoneyFunc(cashs,level,player) if (getPlayerMoney (player) >= tonumber(cashs)) then if getElementData(player,"Level") == tonumber(level) then outputChatBox("skill buying") takePlayerMoney (player,cashs) else end else outputChatBox("you not have money ") end end function getThisElementData(data,player) if (getElementData (player,"Level") == tonumber(data)) then outputChatBox("level suitable") return true else outputChatBox("Level insufficient ") return false end end
  15. What od you mean by "radio chatter"? a private chat channel?
  16. Sounds like this function setVehicleRespawnDelay, doesn't work? or.. it's not used for this kind of script.
  17. Do you mean, you want to show their country when they connect to the server? if so, admin panel by lil toady has something that could help, if i'm right it get's the player country (some times may fail).
  18. Que yo sepa, eso aparece cuando el MTA crashea (lo hace cada tanto).
  19. , eso es un programa que se usa cuando no tenes un servidor Mysql. P.D: Si quieres hacer recursos mas facil, simplemente aprende
  20. Castillo

    admin

    function push( playerSource, command ) player=playerSource if ( hasObjectPermissionTo ( playerSource, "command.push", true ) ) then if isPedInVehicle(player) then local vehicle=getPedOccupiedVehicle(player) x,y,z=getElementVelocity(vehicle) setElementVelocity ( vehicle, x, y, z+0.25) end end end addCommandHandler ( "push", push ) Then you can add a new command into the ACL in your desired group. Also, you have to move it server side
  21. Castillo

    admin

    This script is server or client side? P.S: you can use this to check if he has rights to use that command, hasObjectPermissionTo
  22. Castillo

    admin

    Lol, of course, every resource can have as many scripts as you want, and you don't need a new folder for every .lua script o,o. P.S: Show me your "command" script.
  23. Castillo

    admin

    No, also that fails, it doesn't contains ".zip" because it could be a folder, is your script a command?
  24. Castillo

    admin

    Create new empty acl(s), and leave that only on most powerfull one.
×
×
  • Create New...