Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. type /debugscript 3 in-game and tell us if there are errors, if there are post them here. P.S: please use 1 topic for all the problems of same script!
  2. you're doing it wrong, i recommend to read this: https://wiki.multitheftauto.com/wiki/Introduction_to_Scripting_the_GUI function buyweapon(playerSource, commandName) local buyweapon = guiCreateWindow ( 0.3398, 0.2333, 0.3297, 0.6500, "Weapon Shop", true ) local buyweapondeagle = guiCreateButton ( 0.2915, 0.0369, 0.4242, 0.0641, "Deagle", true, buyWeapon ) local buyweapontec-9 = guiCreateButton ( 0.2938, 0.1058, 0.4265, 0.0609, "Tec-9", true, buyWeapon ) guiSetVisible ( buyweapon, true ) end addCommandHandler("buyweapons", buyweapon)
  3. local myMarker = createMarker( 1368.49, -1279.94, 13.54, 'cylinder', 2.0, 255, 0, 0, 150 ) function MarkerHit( hitElement, matchingDimension,player ) if getElementType( hitElement ) == "player" then outputChatBox ( "You have picked up a Nite Stick.", hitElement ) end end addEventHandler( "onMarkerHit", myMarker, MarkerHit )
  4. show us your code and we will see.
  5. omg i still not understanding!!! wait for someone else.
  6. woot, i don't get what do you mean, seriusly.
  7. Castillo

    Toptimes

    if i'm right its saved with sqlite, you can open registry.db with sqlitebrowser program or resource.
  8. lol i have tested some of them like sharks one and i got eated by one
  9. this people sucks and no lifers! they copy all without even wait 1 day!
  10. i recommend you to use "slothbot" by Slothman, you can find it at mta community. maybe editing it you can get it like you want.
  11. i have created my own rpg game mode (not real life style) which contains many features for sure, i'm working every day fixing bugs etc
  12. oh lol i suposed they call me like that in-game only
  13. Off-topic: who is castle?
  14. i think this is in wrong section, lets wait for a moderator to confirm.
  15. windows milenium???? if yes that windows is so fucking old, lol.
  16. for me works fine in Firefox, just didn't worked first times then refresh and work fine, but yeah the ads sucks .
  17. what do you mean? guieditor only creates the GUI interface nothing else.
  18. i don't get a word of this, wtf is savePlayerData, loadPlayerData? custom functions?
  19. yeah i guess its like sqlite.
  20. omg just read the manual! you can put .zip or a folder.
  21. then check this one too: https://wiki.multitheftauto.com/wiki/Server_Manual
  22. read this carefully! https://wiki.multitheftauto.com/wiki/Resources
  23. Castillo

    weird bug

    but why it works and then stops working? i have changed xmlLoadFile to getResourceConfig.
  24. Castillo

    weird bug

    this is the outputs: [18:10:33] INFO: player skin from element data: 41 [18:10:33] INFO: child found: false [18:10:33] WARNING: rpg.lua: Bad argument @ 'xmlNodeGetAttribute' - Line: 34 [18:10:33] WARNING: rpg.lua: Bad argument @ 'xmlNodeGetAttribute' - Line: 35 [18:10:33] WARNING: rpg.lua: Bad argument @ 'xmlNodeGetAttribute' - Line: 36 [18:10:33] WARNING: rpg.lua: Bad argument @ 'spawnPlayer' - Line: 37 [18:10:33] WARNING: rpg.lua: Bad argument @ 'xmlNodeGetAttribute' - Line: 38 [18:10:33] WARNING: rpg.lua: Bad argument @ 'setElementModel' - Line: 39 [18:10:33] WARNING: rpg.lua: Bad argument @ 'xmlNodeFindChild' - Line: 41
  25. if i'm right this needs other resources for private teams etc.
×
×
  • Create New...