Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. As far as I know, "zombies" resource by Slothman doesn't has dimension support, but it's easy to add if you have some Lua experience.
  2. Yes, you can set the interior and dimension on map editor when creating a pickup.
  3. setElementInterior and setElementDimension?
  4. That would set the player dimension to 10, and you can do the same with any other element.
  5. Good job, someone should indeed continue working on it.
  6. You're talking about the Lua tags? if so then select all your code and click on "lua".
  7. That's not the problem, I think it's a sync problem, the train is not synchronized if a player isn't near.
  8. The nick will change, but only after you join the server again.
  9. You can cancel the event handler: onPlayerChangeNick
  10. Your problem is that you're using setAccountData on a player element, not an account element. You must use getPlayerAccount to get the player account.
  11. I think the train only stops if a player is on it, because when I got into the train, we stopped at Market Station.
  12. Most of scripters are busy with their own projects. Maybe someone does it though.
  13. You want to remove HEX colors from a string? if so use this: function removeHEXFromString ( theString ) if ( theString and type ( theString ) == "string" ) then return theString:gsub ( "#%x%x%x%x%x%x", "" ) end end Example: outputChatBox ( removeHEXFromString ( "#00FF00Hello #FF0000World!" ) )
  14. Creating your own chat box won't be so easy, you'll need to learn Lua scripting. https://wiki.multitheftauto.com/wiki/Scr ... troduction https://wiki.multitheftauto.com/wiki/Int ... ng_the_GUI http://www.lua.org/pil/index.html http://lua-users.org/wiki/TutorialDirectory
  15. Vehicle mods: https://community.multitheftauto.com/index.php?p= ... ls&id=4017 https://community.multitheftauto.com/index.php?p= ... ls&id=4018
  16. What do you mean? you want to create your own radar? because there's no function "createRadar".
  17. You can change the chat font only in your side ( Settings -> Interface ), but you can't change it for everyone on the server.
  18. I never said it was, but two options are better than one, right? I know that Kenix make's it look like a competition, but I don't.
  19. Fijate en http://portforward.com/ , tiene guias para muchos modems/routers.
  20. Just remove the "zombie" element data?
  21. That'll not work, variables aren't shared by resources. You can use getTeamFromName.
  22. You defined a variable in another resource ( not a script in the same resource as Spawnsoldier function ) and you expect it to work?
×
×
  • Create New...