Jump to content

Anubhav

Members
  • Posts

    2,277
  • Joined

  • Last visited

Everything posted by Anubhav

  1. [02:10:39] Querying MTA master server... success! (Auto detected IP:37.59.127.21)
  2. IP/PORT: 37.59.127.21:22003 SERVER ip is empty.
  3. Anubhav

    Script Name

    I'll do it for a price.
  4. Sorry, but I'll post screenshots soon!
  5. How to portward in linux ubuntu? openports Testing ports... Port 22126 UDP is open. Port 22003 UDP is open. Port 22005 TCP is open. but can't connect
  6. Anubhav

    Help

    Many thanks to you CCW. After it finally it gave a error and I fixed them all using wiki! SALUTE!
  7. Hello everyone! Did you need a script? I have fixed price for a script which is $2. For a gamemode it might be above 10$. I'm ready to create any normal/half advanced script for you. Some ready-mate scripts: - Heli-drop -> http://i.imgur.com/B1MModX.jpg - Radar buying -> http://i.imgur.com/6MfZ16U.jpg - Mayor system ( Supported for basic roleplay gamemode only ) -> No screenshots for this for now. - Court casing -> I need a map for this. - Job creator -> Coming soon - Vehicle spawner -> Coming soon - login panel -> Coming soon Thank you! Contact me at skype anubhav.agarwal80 or post here!
  8. Anubhav

    Help

    I'm a Ubuntu server user. Whenever I use ./mta-server which exists. It tells it doesn't exist. @
  9. You din't define source. See bindKey for more information. See the argument's it passes!
  10. Dude it's common sense. The vehicleJump is not defined and not is a function. Replace it with myPlayer + remember to trigger Player!
  11. A: I would be epic pro. Q: What if you be arrested?
  12. A: I'll never be like him. Q: What if something would broke and you hid it and your MOTHER FINDS IT OUT? What do you think? Why?
  13. Sensible question. Maybe in next generation someone is? #logic! Ok i'LL ANSWER It my self: A: I would be a liquid. Q: What if you be a kid like Bilal?
  14. i tested it but it give's me a error. attempt to call field 'sort' ( a nil value )
  15. Why would you add isObjectInACLGroup in it?
  16. Which example are you talking about
  17. edit: see my edited code There is no such thing as destroyObject. It's destroyElement. Here you go . Your wiki is here! note: I just copy pasted.!
  18. I told the same thing. Sorry if this is counted as spam. I just told multi-code
  19. Are you dreaming boss? Is the first parameter? Idk what's wrong and Player not defined!
  20. Never would. function lolTeam(_, weaponid) local theTeam = getTeamName(getPlayerTeam(source)) if theTeam and theTeam == "Team Name" and weaponid == yourWeaponId then toggleControl( source, "fire", true ) else toggleControl( source, "fire", false ) end end addEventHandler("onPlayerWeaponSwitch", root, lolTeam)
  21. You need to create a table for this, or (players) will be left undefined. +Your first part has no use in the script. He wanted to just turn off player nametags. FFS are you all mad? He's CODE IS TOTALLY CORRECT. Go learn Bilal! i is defined in the loop already. i = 1, #players do and when it runs it returns i's value so you check the table's index of i value. #logic
  22. Boom! Will give out a epic error! function engineSound(Player) playSound("sound directory/sound file.mp3", Player) end addEventHandler("onPlayerVehicleEnter", root, engineSound)
  23. --Create teams on resource start function createTeams(source, teamName) staff = createTeam("Admins", 128, 0, 0) end addEventHandler("onResourceStart", getRootElement(), createTeams) --Set admins from ACL to Admin team after logging in function setAdminTeam(thePlayer) local name = getPlayerName(source) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Admin")) then --check if admin setPlayerTeam(source, staff) --set team outputChatBox("#00FF00Greetings #FF0000"..name.." ! Welcome back.", source, 0, 255, 0, true) --greetings end end addEventHandler("onPlayerLogin", getRootElement(), setAdminTeam)
×
×
  • Create New...