Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Castillo

    weird bug

    it keeps making same bug any other ideas?
  2. my idea is to create a SQLITE database which will contain player serial or account name (serial is kinda recomended since most of players dosn't logins) and save all his data there.
  3. Castillo

    bindKey <_<

    post the code so we can check if you understand us.
  4. Castillo

    weird bug

    hey i have a strange bug on my friend server, after some time when players are playing all gets fucked up i have no clue why this is happening i have tryed many things and nothing worked, function playerSpawn() local playerTeam = getElementData(source, "team") local playerSkin = getElementData(source, "skin") check(source) local xmlFile = xmlLoadFile("Spawns.xml") player = xmlFindChild(xmlFile, "skin", playerSkin-1) positionX = xmlNodeGetAttribute(player,"x") positionY = xmlNodeGetAttribute(player,"y") positionZ = xmlNodeGetAttribute(player,"z") spawnPlayer(source, positionX, positionY, positionZ, 0) id = xmlNodeGetAttribute(player,"id") setElementModel(source, id) I = 0 while (xmlFindChild(player, "weapon", I)) do local weapon = xmlFindChild(player, "weapon", I) local weaponAttributes = xmlNodeGetAttributes(weapon) giveWeapon(source, weaponAttributes.name, weaponAttributes.amount) I = I + 1 end end addEvent("spawnHim",true) addEventHandler("spawnHim", getRootElement(), playerSpawn) errors: bad argument xmlNodeGetAttribute from line positionX = xmlNodeGetAttribute(player,"x") to 36 bad argument spawnPlayer (this is because attributes aren't working) bad argument while xmlFindChild line (xmlFindChild(player, "weapon", I)) do i hope someone can give me a hand, thanks in advance.
  5. READ what varez said! "not possible YET" in version 1.1 will be possible if i'm right.
  6. Castillo

    /time

    exactly! he dosn't wants to copy me since he has the code already just cancel the /time cmd that tells real time.
  7. Castillo

    /time

    varez i will explain it better, i made a cmd /timeon that will check how much time he has played from a sql database, but what he wants its to, we can say remove the /time command from mta that shows real life time and change /timeon to /time. lets hope you understand
  8. Castillo

    Vehicle BOTS

    check this: https://community.multitheftauto.com/index.php?p=resources&s=details&id=563 and this: https://community.multitheftauto.com/index.php?p=resources&s=details&id=461 hope it helps.
  9. lol varez, this guys thinks someone will spend time making maps for him for nothing .
  10. ah was just to have 775 post
  11. Hmm i forgot to ask, will you release this?
  12. account data function is only server!! you are doing a mess of server with client side.
  13. lol i was gonna ask the same question, how we're suposed to play in multi ben?
  14. Introduction to resources: https://wiki.multitheftauto.com/wiki/Resources Introduction to scripting: https://wiki.multitheftauto.com/wiki/Scripting_Introduction Introduction to scripting the GUI: https://wiki.multitheftauto.com/wiki/Introduction_to_Scripting_the_GUI
  15. Castillo

    Server REQ

    O_o you don't know how to remove a file? just remote it and create your own via scripting.
  16. varez, he is wrong it shows like 30 errors at MTA script editor.
  17. Timic, stop bumpin post!! this is a old one if i'm right.
  18. lol a 2D platform game mode sounds very funny
  19. c:\Program Files\MTA San Andreas\server\mods\deathmatch\resources\admin.zip also try at server console: start admin the resource is not started maybe.
  20. I really don't get what you mean.. every server got the original admin panel by lil toady, you only gotta add yourself to acl.xml under group admin,
  21. the script works fine.. remember to put it on client side.
  22. Castillo

    How to Skins

    Lets hope so Sam, i wanted to put a darth vader model
  23. haha varez, i just checked out and now i see why he put 1.0.3 as latest
  24. 1.0.4 is the latest version not 1.0.3...
  25. Please, don't triple-post just use EDIT button.
×
×
  • Create New...