[UVA]Bart Posted September 30, 2007 Share Posted September 30, 2007 this is my new 10 level admin script it has some new features :- {player commands} {player commands} !stats~~~~~~~~~~~~~~~~~~~~~~a players stats !points~~~~~~~~~~~~~~~~~~~~~a players points !id~~~~~~~~~~~~~~~~~~~~~~~~ returns a players id !visits~~~~~~~~~~~~~~~~~~~~~ returns a players total visits to the server !played ~~~~~~~~~~~~~~~~~~~~the ammount of times the the current map has been played !totalvisits ~~~~~~~~~~~~~~~~~the total visits the server has had !totalmaps ~~~~~~~~~~~~~~~~~the total number of maps uploaded !playercount ~~~~~~~~~~~~~~~~the total number of players in the server !mapname ~~~~~~~~~~~~~~~~~returns the name of the current map !maxping ~~~~~~~~~~~~~~~~~~the servers max ping limit !ping ~~~~~~~~~~~~~~~~~~~~~~a players ping !info ~~~~~~~~~~~~~~~~~~~~~~server info !level ~~~~~~~~~~~~~~~~~~~~~the level of a player !time ~~~~~~~~~~~~~~~~~~~~~the time/date in the format day/month/date/time/year ie/ fri sept 14 15:01:23 2007 !rate~~~~~~~~~~~~~~~~~~~~~~ rates the current map !unrate ~~~~~~~~~~~~~~~~~~~player can remove there own rating !rating ~~~~~~~~~~~~~~~~~~~~returns the current maps rating !mode ~~~~~~~~~~~~~~~~~~~~returns the current mode of a map !seen ~~~~~~~~~~~~~~~~~~~~~last time and date a player was seen !url/website ~~~~~~~~~~~~~~~returns the url for the website !serverip/sip ~~~~~~~~~~~~~~returns the server's ip address and port !commands~~~~~~~~~~~~~~~~all the commands !admin~~~~~~~~~~~~~~~~~~~~the current online admins !- ~~~~~~~~~the player can use commands added by the admin !bank/money/cash~~~~~~~~~~ a players total cash, how many loans they have had and how many they have paid back, how much cash they have in there bank !cashin~~~~~~~~~~~~~~~~~~~~~~allows a player to cash money in to the bank !bankcash~~~~~~~~~~~~~~~~~~~~the total ammount of cash in the bank !withdraw~~~~~~~~~~~~~~~~~~~~the player can withdraw money from there bank !buydmwins~~~~~~~~~~~~~~~~~~ buy 5 dmwins !buyracewins~~~~~~~~~~~~~~~~~ buy 5 racewins !buypoints~~~~~~~~~~~~~~~~~~~ buy 60 points !bankloan ~~~~~~~~~~~~~~~~~~~take a loan out (max loan can be configured in the controle pannel) !repayloan ~~~~~~~~~~~~~~~~~~~repays a loan if they dont before the player quits next time they join its double the ammount of what the loan was. !buymap ~~~~~~~~~~~~~~~~~~~~a player can buy a map and everytime its played the player gets money !buyfreeze ~~~~~~~~~~~~~~~~~~a player can buy freeze and then use it to freeze themself of another player !myfreeze ~~~~~~~~~~~~~~~~~~~it alows a player to use there freeze if they bought one !mymaps~~~~~~~~~~~~~~~~~~~~ it shows the ammount of maps a player has bought !buyitems~~~~~~~~~~~~~~~~~~~ all the items that come in the script {admin commands} !add~~~~~~~~~~~~~~~~~~~~~~~~adds you as the main admin level 10 (but you must be in the mta.config file as level 1 for the commands to work) !idlist~~~~~~~~~~~~~~~~~~~~~~~ a full pm of all the players id !ban~~~~~~~~~~~~~~~~~~~~~~~~~bans the name or id of a player !kick ~~~~~~~~~~~~~~~~~~~~~~~~kicks the name or id of a player !freeze ~~~~~~~~~~~~~~~~~~~~~~freezes the name or id of a player !unfreeze ~~~~~~~~~~~~~~~~~~~~ unfreezes the name or id of a player !mute ~~~~~~~~~~~~~~~~~~~~~~~mutes the name or id of a player !unmute ~~~~~~~~~~~~~~~~~~~~~unmutes the name or id of a player !random/map ~~~~~~~~~~~~~~~~starts a random map !changemap~~~~~~~~~~~~~~~~~~changes the map to a name specified !addping ~~~~~~~~~~~~~~~~~~~~adds a maxping !slr ~~~~~~~~~~~~~~~~~~~~~~~~~restarts the script !rerun ~~~~~~~~~~~~~~~~~~~~~~~reruns the current map !remrate ~~~~~~~~~~~~~~~~~~~~~removes any players rating !addallmodes~~~~~~~~~~~~~~~~~ allows a admin to set all the map modes as dm/ or race !addmode ~~~~~~~~~~~~~~~~~~~~allows a admin to set single maps as dm/ race !remmap ~~~~~~~~~~~~~~~~~~~~~removes the current map and starts a random one . !pmalias~~~~~~~~~~~~~~~~~~~~~~pms a players alias !alias~~~~~~~~~~~~~~~~~~~~~~~~says in text a players alias !subalias~~~~~~~~~~~~~~~~~~~~~says in text a players subalias !pmsubalias~~~~~~~~~~~~~~~~~~pms a subalias !getip~~~~~~~~~~~~~~~~~~~~~~~gets a players ip !getsubip~~~~~~~~~~~~~~~~~~~~gets a players sub ip !addadmin ~~~~~~adds a admin (dont forget to add them as level 1 in the mta.config file) !addlevel~~~~~~~~~~~~~~~~~~~~adds a admin !remadmin~~~~~~~~~~~~~~~~~~~removes a admin (dont forget to remove them from the mta.config file) !addadvert~~~~~~~~~~~~~~~~~~~adds a advert message !startads~~~~~~~~~~~~~~~~~~~~~starts the adverts !stopads~~~~~~~~~~~~~~~~~~~~~~stops the adverts !addcmd~~~~~~~~~~~~~~~~~~~~~~adds a command like lol !remcmd~~~~~~~~~~~~~~~~~~~~~removes a added command like lol !cmdhelp~~~~~~~~~~~~~~~~~~~~~gives the codes used to add a command ie/ pm (pm the text to the player) - text (say the text in text) - player (returns a players nick ie/ DirtBikeRider) - players (returns a players nick with a s on the end ie/ DirtBikeRiders) will post a link here when i have tested it later on tonight. post as many comments as you can for ideas Link to comment
[UVA]Bart Posted September 30, 2007 Author Share Posted September 30, 2007 well here the link is to download it [attachment=0]mtasa slr-v-1.1.rar[/attachment] Link to comment
[FMJ]ParadoX Posted October 1, 2007 Share Posted October 1, 2007 Nice work with this, Link to comment
[TbO]Gr00vE Posted October 3, 2007 Share Posted October 3, 2007 oh, that script looks very nice! i will test it today on my servers...^^ but i´ve got one problem: we use prs since about 1 year and many people have good stats in that so want to import these stats.^^ does somebody knows how i can QUICKLY import them... ? Thanks for fast anwsers Gr00vE Link to comment
[UVA]Bart Posted October 3, 2007 Author Share Posted October 3, 2007 errm i dont know but will look in to it i will see if you can write all the past stats from hash to ini but im not certain it will work so..... one more thing i nearly forgot to add you as admin level 10 you must be in the mta.config as level 1 and then type !add to login you use the same was as before /rcon_login but it then and repeat this for all the other admins Link to comment
[UVA]Bart Posted October 3, 2007 Author Share Posted October 3, 2007 making it in to hash now and adding new features Link to comment
Guest Posted October 4, 2007 Share Posted October 4, 2007 ok , i've got your script but i don't understand how can i login as admin .I understand that i must write !add before i ......./rcon_login !!!??? Link to comment
[UVA]Bart Posted October 4, 2007 Author Share Posted October 4, 2007 (edited) ok you need to get the mta.config you know where that is then look at the bottom of the config for this # Admin # Required: No # Purpose: Defines all the people in-server who can rcon_login to admin # Format - Admin # Notes: # admin-level must not go above 5 # Names and passwords are case sensitive #Admin admin <1> (note this has to be set as number 1 for the 10 levels to work) then when you go in game with the script type in !add this will then add you as the main admin level 10. to login as level 10 simply type in the text box at the top right /rcon_login let me know how you have gone on with this Edited October 4, 2007 by Guest Link to comment
Guest Posted October 4, 2007 Share Posted October 4, 2007 thx , but i don't have admin level 10 , i have level 1 , what is wrong Link to comment
[UVA]Bart Posted October 4, 2007 Author Share Posted October 4, 2007 thx , but i don't have admin level 10 , i have level 1 , what is wrong what have you done lol have you typed in !add ? also it will say in pink that you are level 1 but then the script changes it then when you login it will say logged in level: 10 Link to comment
Guest Posted October 4, 2007 Share Posted October 4, 2007 i will try tomorrow ! i want to sleep Link to comment
Guest Posted October 5, 2007 Share Posted October 5, 2007 i try to write :!add :/rcon_login but i am admin level 1 Link to comment
[UVA]Bart Posted October 5, 2007 Author Share Posted October 5, 2007 ok when you are ingame type in !add if it says that you have already used this command then you need to go in mycomputer/local c/program files/ then to loginin you simply login like /rcon_login pm me the name of the server and i will come and have a look later today when i get back Link to comment
Guest Posted October 5, 2007 Share Posted October 5, 2007 My server name is : Server[DD] Link to comment
[UVA]Bart Posted October 5, 2007 Author Share Posted October 5, 2007 this is the one you need to download mtasa slr-v-1.1.rar Link to comment
[UVA]Bart Posted October 7, 2007 Author Share Posted October 7, 2007 has any one got any ideas for my new one ? please Link to comment
Scooby Posted October 9, 2007 Share Posted October 9, 2007 looking good. theres always plenty to add... warnings, votekicking, more modes, etc... Link to comment
BLuE_SySTEM Posted October 9, 2007 Share Posted October 9, 2007 Really cool script Well done! But i have some questions.. How can i change maps,freeze,points,etc price? and when i do !addmode race nothing happens Link to comment
[UVA]Bart Posted October 9, 2007 Author Share Posted October 9, 2007 (edited) thanks scoob Edited October 9, 2007 by Guest Link to comment
[UVA]Bart Posted October 9, 2007 Author Share Posted October 9, 2007 Really cool script Well done! But i have some questions.. How can i change maps,freeze,points,etc price? and when i do !addmode race nothing happens change the points price from the bank tab of the dialog where you input the levels for the commands also you need to type in !add for you to be the main admin level 10. then addmode race will work once you have set the levels in the control pannel. Link to comment
BLuE_SySTEM Posted October 9, 2007 Share Posted October 9, 2007 But how i use control panel? sorry for the newb question =/ but i dont see where is it About admin thing.. i already did that.. i make rcon login and then it says im lvl10.. it's ok. One suggestion: Add Best time for race maps Link to comment
[UVA]Bart Posted October 10, 2007 Author Share Posted October 10, 2007 ok do you use mirc, if you do then in the window type in /slr (then press enter) and it will bring up a control pannel where you set the ping and all sorts of things any more prob add me on msn [email protected] or post here. Link to comment
BLuE_SySTEM Posted October 11, 2007 Share Posted October 11, 2007 thanks! It works now other sugestion: Top points.. top dmwins.. top racewins..top money.. i found one bug [11:52] * Startrace: Success to start race "[DM]just4smash".[11:52] [iG]BLuE_SySTeM: !buymap [11:52] * Admin say's to [iG]BLuE_SySTeM: Error: You Dont Have Enough Money To Purchase A Map. [11:52] [iG]BLuE_SySTeM Has Just Bought [DM]just4smash And When its Played The Bank Gives [iG]BLuE_SySTeM $10 Per Player [11:52] [iG]BLuE_SySTeM: !money [11:52] [iG]BLuE_SySTeM's Cash: $-99860 - Loans: - Repayed Loans: - Bank Cash: $0 It said i had no enough money but it bought it anyway Link to comment
Scooby Posted October 11, 2007 Share Posted October 11, 2007 thats nothing major, edit the alias. 'alias slr.buymap {' on line 442 change the 'if' to 'elseif' this line: if (%b != $null) mta.pm $1 $2 This Map Has Allready Bought, Current Owner %b feel free to correct the wording Link to comment
BLuE_SySTEM Posted October 11, 2007 Share Posted October 11, 2007 Thanks other thing.. [12:02] * [iG]BLuE_SySTeM parted. (84.90.137.149)[12:02] The Winner Is [iG]BLuE_SySTeM And Gets 1 Points and $50 i was playing alone.. i parted i won.. Link to comment
Recommended Posts