Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. thats really strange, i've made tons of radar areas and they all show up in radar too O_o Edit: maybe the zone is too big and thats the reason?
  2. you mean the radar area is showing in the F11 map (aka big map) but not in mini map (radar) ?
  3. Castillo

    [HELP]

    Why didn't you read the resource's descriptions?? there it explains how it works. for /bank cmd you will need to script that https://wiki.multitheftauto.com/wiki/Scripting_Introduction
  4. xmlLoadFile has something wrong thats why it won't work.
  5. you are trying to destroy the file not the node lol.
  6. yes, notepad++ would work, i recommend this, create your objects with map editor then check how is done one of the maps and should be fine.
  7. thats what everyone says, don't be lazy and find them.
  8. i think you should add xmlSaveFile(meta) in some part of script.
  9. Castillo

    GUI images

    i don't understand you, can you explain it a bit better maybe?
  10. as Oz said, if you offer $$$ then you may get more chances to find one P.S: you didn't even told us for what project you need another scripter.
  11. i would like to help but with a friend we just started a Call Of Duty 4 mod in MTA
  12. Castillo

    MTA 1.1

    i have used 1.0.4 scripts on 1.1 beta's and works fine.
  13. it works, check the screenshot.
  14. addEventHandler("onPlayerChat",getRootElement(), function(msg, msgtype) if (msgtype == 1) then cancelEvent() outputChatBox("#00FF00* " .. string.gsub(getPlayerName(source), "#%x%x%x%x%x%x", "") .. " " .. string.gsub(msg, "#%x%x%x%x%x%x", ""), getRootElement(), 255, 255, 255, true) else cancelEvent() outputChatBox(getPlayerName(source) .. " says ".. msg, getRootElement(), 255, 255, 255, true) end end) try that (i'm not sure what i'm doing, didn't sleep yet)
  15. yeah, i know that exported functions can be used too for this, but i was trying tell easiest way
  16. Castillo

    [help] error

    don't double-post! just wait for another member to answer.
  17. you can use setElementData, getElementData. https://wiki.multitheftauto.com/wiki/SetElementData https://wiki.multitheftauto.com/wiki/GetElementData
  18. A friend tells me that is not possible to call them from other resources. You can pass values with exported functions.
  19. i did a fast try, inserted lol = "testing then did a cmd in another resource and returns "nil"
  20. its ok The Kid, its not completely same
  21. i think i get it! addEventHandler("onPlayerChat",getRootElement(), function(msg, msgtype) if (msgtype == 1) then outputChatBox("#00FF00* " .. string.gsub(getPlayerName(source), "#%x%x%x%x%x%x", "") .. " " .. string.gsub(msg, "#%x%x%x%x%x%x", ""), getRootElement(), 255, 255, 255, true) else outputChatBox(getPlayerName(source) .. " says ".. msg, getRootElement(), 255, 255, 255, true) end cancelEvent() end)
  22. wtf nowofresh?????? don't post if you don't know how to help! back on topic: you should create a table like: myObjects = {} then you do: myObjects[tostring(getPlayerName(PLAYER ELEMENT HERE))] = createObject()
  23. dude, first we aren't GAYS!!! second: i don't think you know much (seriusly) and also most good scripters are busy with their own projects
  24. wtf? i don't get you really! please explain us what do you really want.
×
×
  • Create New...