Jump to content

alex11

Members
  • Content Count

    15
  • Joined

  • Last visited

Community Reputation

0 Neutral

About alex11

  • Rank
    Square
  1. <setting name="*weapons/vehiclesenabled" value="false" /> <!-- Can players fire vehicle weapons? --> <setting name="*weapons/disallowed" value="[[38]]" /> <setting name="*weapons/disallowed" value="[[33]]" /> <setting name="*weapons/disallowed" value="[[34]]" /> <setting name="*weapons/disallowed" value="[[35]]" /> <setting name="*weapons/disallowed" value="[[36]]" /> <setting name="*weapons/disallowed" value="[[37]]" /> I am try to this XML,And when I am in the game,just only fi
  2. local spawnX = 2496 local spawnY = -1684 local spawnZ = 14 function weaponSwitchDisableMyWeapon ( previousWeaponID, currentWeaponID) --when a player switches his weapon if currentWeaponID == 38 or currentWeaponID == 36 then --if the weapon ID is minigun toggleControl ( source, "fire", false ) --disable the fire button toggleControl ( source, "action", false ) --disable the fire button else --otherwise toggleControl ( source, "fire", true ) --enable it toggleControl ( source, "action", true ) --disable the fire button end
  3. myrules.lua function weaponSwitchDisableMinigun ( previousWeaponID, currentWeaponID, thePlayer ) --when a player switches his weapon if currentWeaponID == 38 then --if the weapon ID is minigun toggleControl ( source, "fire", false ) --disable the fire button else --otherwise toggleControl ( source, "fire", true ) --enable it end if (isAdminAccount(getClientAccount ( thePlayer )) == true) then toggleControl ( source, "fire", true ) --enable it end end function isAdminAccount(acc
  4. My server have Install logingui resources.Every One have they own Account. function weaponSwitchDisableMinigun ( previousWeaponID, currentWeaponID, thePlayer ) --when a player switches his weapon if currentWeaponID == 38 then --if the weapon ID is minigun toggleControl ( source, "fire", false ) --disable the fire button else --otherwise toggleControl ( source, "fire", true ) --enable it end local taccount = getClientAccount ( thePlayer ) if isAdminAccount(taccount) then toggleControl ( source, "fire", true ) -
  5. My serial is 0000-0000-0000-0000 Under the XML,where did I Add in which file? <admins> <admin Serial="0000-0000-0000-0000"/> <admin Serial="0000-0000-0000-0000"/> </admins>
  6. This Script got from MTA-Wiki,and I am try to Add Only Admin can use minigun. function weaponSwitchDisableMinigun ( previousWeaponID, currentWeaponID, thePlayer ) --when a player switches his weapon if currentWeaponID == 38 then --if the weapon ID is minigun toggleControl ( source, "fire", false ) --disable the fire button else --otherwise toggleControl ( source, "fire", true ) --enable it end if getClientName(thePlayer) == "MyNickname" then toggleControl ( source, "fire", true ) --enable it end en
  7. I find the problem. i am say the Next time i connect my server it will auto-login. i find account.xml,1,1 replace 0,Now logingui it's can work.
  8. yes,i do. I have Administertor function,I can admin my server by Webpage and In Game use admin GUI.
  9. like this ? When Account Not exist It will Add new Account,Next time I am Connect to my server,It's say Account is exist,Please enter your Password,and chatbox say,You Successfully logined. and I am type correct password,it's say Your Password is Incorrect.and over 3 times it's kick by Console.
  10. if You download freeroam Gamemode from MTA website,You can do the next fix. If player using /wp 550 9999,Get minigun. you can extract file from freeroam.zip using Notepad Open fr_client.lua file fine function giveWeaponCommand(cmd, weapon, amount) weapon = weapon and tonumber(weapon) if not weapon then return end if not amount then amount = 500 else amount = tonumber(amount) end if amount then server.giveMeWeapon(weapon, amount) end end addCommandHandler('give', giveWeaponCommand) addCommandHandler('wp'
  11. I am download logingui frmo mta website. http://community.mtasa.com/index.php?p= ... ils&id=174 and I am modily acl.xml add logingui.zip put in resources directory. start MTA-Server,and gamemode freeroam,and logingui. Now if use NewAccount it's can Login and Create a New account. and Next time login to my server,chatbox say auto-login:you successfully logined. and the Login form,username is fixd,Password I enter my password,login form say:Incorrect password. but i useing notepad open account.xml username and password is correct i enter on the login form. passowrd error 3 times,an
  12. thanks a lot. mtaserver.conf 1 Set Empty don't type any word.My Server can be login. Today I play a RPG Server,player can be police,robber,taxi driver,etc...,I Download MTA-Server ver1 dp 2.0 from MTA-SA website is it include I say RPG Gamemode or I will download RPG resources in My MTA?
  13. Now I type "gamemode interstate69 i69-de",but it halt download file process. Error Messages is "Error downloading requests files". I think need Http Server.So i start Apache2 Server. Click URL View Pictures. http://hollowaysxp.myweb.hinet.net/mta/Apache2inmta.JPG But it still Show "Error downloading requests files". mtaserver.conf settings <httpserver>1</httpserver> <httpport>22005</httpport> <httpdownload>1</httpdownload> <httpdownloadurl>http://xxx.xxx.xxx.xxx/resources/</httpdownloadurl> <- This URL is available on My Comput
  14. I am download MTA-SERVER dp1.0 v2. use notepad modify "mtaserver.conf",I modify andand,the other I haven't modify it. and I modify accounts.xml,add acl.xml settings.xml file size is 0KB,no any word in this settings.xml. Start MTA Server.exe =========================================================== = Multi Theft Auto: San Andreas Deathmatch v1.0-dp2 = =========================================================== = Server name : xxx MTA Server = Server IP address : xxx.xxx.xxx.xxx (I am testing,I useing private class C
×
×
  • Create New...