Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Please change their descriptions to "DELETE".
  2. I don't "hate" you, but when I see something pathetic as giving feedback to your own resource, then I just can't resist replying. By the way, no offense right, but your excuse is even more pathetic.
  3. Castillo

    Help [TURF]

    Yes, that should do the job. By the way, remove "p" from the table, and then change: local text, _, r, g, b, hex = unpack ( messages [ n ] ) to: local text, r, g, b, hex = unpack ( messages [ n ] )
  4. That's because you can't shoot while doing animations.
  5. Castillo

    I need help

    Remember to add the resource to the ACL group "Admin", since addAccount requires ACL access.
  6. It's attachElements, not attachElement.
  7. If you insist... http://i.imgur.com/OLFABPp.png
  8. It's pathetic to give feedback in your own work.
  9. Well, you could try asking them how they did it, do you have a photo of this?
  10. Maybe they replaced the animations in their GTA files.
  11. getVehicleOverrideLights will return a boolean ( false in this case ) if "vehicle" is not a vehicle element.
  12. As far as I know, it's currently impossible to do such thing, since you can't add/replace animations in MTA.
  13. Castillo

    Help [TURF]

    You didn't specify to which player the message has to be sent to: local text, _, r, g, b, hex = unpack ( messages [ n ] ) outputChatBox ( tostring ( text ), source, r, g, b, hex ) By the way, what is "p" in that table?
  14. Well, because that makes no sense, you are trying to destroy numbers... If what you want is to remove the values from the table, then use table.remove.
  15. You mean that getPedOccupiedVehicle returns a boolean instead of the vehicle element? then, I guess the player is not in a vehicle at all?
  16. Obvio, ya que tenes dos sistemas de guardado de armas, lo unico que tenes que hacer, es quitar uno, te diria que le quites el que tiene el recurso de hospitales.
  17. Supongo que vos ya tenias un script que guardaba las armas del jugador, y este script que descargaste tiene tambien esto, por lo que que hace que las armas se dupliquen.
  18. To check if the player is currently in a vehicle, use isPedInVehicle, and to destroy the previously spawned vehicle, you would need to create a table and store the vehicles there.
  19. Glad to hear that. But please, next time use the "EDIT" button instead of making 4 consecutive replies.
  20. Yeah, you just change it there, just make sure it's open on your modem/router.
  21. Split the cost, if it has a decimal ( a dot ), take the first value of the splitted cost as the money to take, and the second as the coins. Example: local cost = 3.25 local splittedCost = split ( tostring ( cost ), "." ) if ( splittedCost ) then outputChatBox ( tostring ( splittedCost [ 1 ] ) ) outputChatBox ( tostring ( splittedCost [ 2 ] ) ) end
  22. You can host several servers in a single machine, yes. You simply need to give each server different ports.
×
×
  • Create New...