Jump to content

Dark Dragon

Members
  • Posts

    1,619
  • Joined

  • Last visited

Everything posted by Dark Dragon

  1. did you just forget to copy it or did you remove the end of the function and the command handler? line 3 should be getAccountData (the player account should go there), you maybe need to use tonumber to turn the string which getAccountDataReturns to a number
  2. for command handlers the player is not source but the first parameter of the function (in your case playerSource), if you however change it to use the appropriate event source will be fine. to make it work with what you currently have replace all "source"s with "playerSource"
  3. Join the fan club! https://community.multitheftauto.com/index.php?p=groups&view=1942
  4. at line 17 you should unpack colorTable i'd say.
  5. if you want it to move but still be relative to the element it's attached to there is no other way than using setElementAttachedOffsets
  6. addEvent("playerNotChatting", true) addEventHandler("playerNotChatting", root, function() triggerClientEvent("updateChatList", root, source, false) end ) addEventHandler("onPlayerQuit", root, function() triggerClientEvent("updateChatList", root, source, false) end ) personally i don't see a reason not to give each function a name, the benefits of not doing so are minor
  7. i think what you're looking for is setElementAttachedOffsets
  8. there is no script file in it. how is it supposed to do anything?
  9. easier than a 1 line way to do it? i doubt it just go with table.sort it works very well.
  10. editing is being logged when there is a newer post than the edited one.
  11. Dark Dragon

    Mesage

    please solve this via pm. thank you.
  12. if the download button on the main page doesn't work simply refresh the page, a new mirror will then be chosen.
  13. check if you did it correctly using the tool they provide: http://portforward.com/help/portcheck.htm needed ports are 22003 22005 (required to play) and 22126 (required to be displayed on the server browser) [port defaults]
  14. you need to understand the difference between server and client side scripts, you are using a server event with client functions. What you need is onClientMarkerHit Also when using useful functions in your script you need to put the useful functions code somewhere so your script can access it.
  15. you can script it so everyone on your sever will see it while you have the resource started which contains it. however every player will have to download your custom textures when they connect to your server.
  16. leave the ip field in the mtaserver.conf blank and look up your ip on a site like http://whatismyipaddress.com/ if you want a static ip you should simply ask google for a tutorial on how to do that, there are plenty of them
  17. damn i was so sure pirates were those guys who trim the sails and roam the sea.
  18. i think what you mean is the mapcycler resource, try to start it and it should start votes after a few rounds.
  19. Dark Dragon

    votemap

    Yes, but you'll have to script that. https://wiki.multitheftauto.com/wiki/Res ... otemanager will help you, but you'll also need to find the relevant code in race to replace it with yours
  20. please try to use the forums search next time, as you can see here there are tons of topics about this already: https://forum.multitheftauto.com/search.php the solution is to download this: https://community.multitheftauto.com/data.zip and replace the files you find in there in your gta san andreas -> data folder with the ones in this .zip
  21. evil geniz achieved this by attaching an object to the player so the camera gets moved very close to the head of cj, then simply set the ped alpha to 0. haven't seen it done better than that yet. at least for combat this works quite well.
×
×
  • Create New...