Jump to content

Tommis

MTA Contributors
  • Posts

    163
  • Joined

  • Last visited

Everything posted by Tommis

  1. Yes, soz, after i built the installer (Used trial version and it ran out..) i noticed that (Used the same mirc that i use to connect to XE channels.) please avoid that, just remove from favorites. Cant be that much of a problem. Just go in favorited, and highlight #xe and click remove. Soz (Look in Suggestions Topic for a UPDATE) Cya, [XE]Tommis
  2. Hey, As you might of noticed i have added alot to MTA:mA:General Use Scripts. As of now i am adding RPG. You have cash and you can earn cash. I am going to add a BET system too. When you finish a race 1-4'th you will earn money by the amount of people you beat (The amount of people in the server). Here are some commands.. !buy - Buys a item - 1-20 Second Freeze (Prices Differ) - 1-25 Second Mute (Prices Differ) - Changemap ($3500) - more coming !items - Shows you your current items !rpgfreeze - Use your Freeze on someone !rpgmute - Use your RPG Mute on someone. !cash - Shows you the cash of that player !give - Give the amount to that player More coming...bet system..please note i just started this yesterday. I also added some kool commands to GUS... - Going to add a timer to freeze and muten (like !freeze ) - Going to add a !rating and you can vote the current map 1-10 - !trace command - Toptime command and when you beat the toptime it says "NAME has ect ect..." - so much more, its amazing, so far my script alone is 100kb (Approx) - Sounds to bland in here...seriously, just try it out, come to the XE/TTH MTASA Sever and take a look at it today! ------- Please remember RPG is BETA! I just started it ffs! And the bet system isnt mine, i got the idea from another server. Though in the other server you get 2000 money just from the start, and this one you earn the money from winning or placing 1-4'th in the race, TEH MORE PLAYERS IN TEH SERVER, THE MORE $ you win! Still not done, and the whole RPG thing is extra it can be turned on and off. !RPG . Also, yes i will record 2nd third and forth too, but wont make it say when u win, cus to much spam. More Comming! Cya, [XE]Tommis
  3. No, I have been working like mad on it. Finally fixed the Top Time thingy, doesent say it in like **:**:** You will like the next release. Cya, [XE]Tommis
  4. Hey, !trace - Traces the person location in the world !besttime - Indicates the best time on a map and the person of whom did it !spawn - Turns the spawn msg's off and on **The Best time will indicate when you finish a map if you have beaten the best time on that map, it pwnz, plz try it out asap. Ahh, well i am still working on it, gonna add some more, you should see this version comming out in the next couple of days. Cya, [XE]Tommis
  5. Hmm, well for that, umm, well, ermm, i look into that... As for napsk... /me slaps NapsK with a big large smelly trout
  6. Hey, Look in Admin.ini under [iP] and look for his name (Replacing [] with ~~) and make it like hisnamehere=8 --------------------------------- On the other hand i had just released a new installer and tutorial for this witch you should find easy now to install. You just run the setup and its practically done. Please read the short turorial (Includes pictures) Cya, [XE]Tommis
  7. None from Canada Newayz, Good Luck! We gettin members playin GTASA Now, might have a match sometime! Good Luck, [XE]Tommis
  8. Ye, Bout to ask, dun think UVA are playing MTA nemore, think they are only available for GTA Rumble Matches (Since [uVA]_ZzZ made) Though, i seen Kev and Vision play MTA VC Still.. Good Luck, [XE]Tommis
  9. Well, It writes the first two IP groups on the ini, then if the level is over 2 on the person (On Join) it does like "if GETINI2IPGROUPS isin $mta.ip($1,$2)" so just change in the ini put just a 8. There for if has a 8 in the ip (You said 86-80) wont kick him. Though im prolyl gonan sync this with the RRCON, though i dunnoz... Good Luck, [XE]Tommis
  10. Yes, have that in the XE MTAVC Scripts, though might add to the GUS, just cba to do it tbh
  11. Why dont you write a small admin system with the ip's...like couple lines and itll be way better on *:SIGNAL:mta.command:{ if ($3 == !set) { if ($readini($scriptdir $+ admin.ini,SET,SET) == $null) { !writeini -n " $+ $scriptdir $+ admin.ini" SET SET 1 !writeini -n " $+ $scriptdir $+ admin.ini" ADMIN $mta.name($1,$2) 1 !writeini -n " $+ $scriptdir $+ admin.ini" IP $mta.name($1,$2) $gettok($mta.ip($1,$2),1-2,46) mta.msg $1 $2 You have been added with Admin } else mta.msg $1 $2 Error - This command has already been used } elseif ($3 == !marketon) { if ($readini($scriptdir $+ admin.ini,ADMIN,$mta.name($1,$2)) >= 1 && $readini($scriptdir $+ admin.ini,IP,$mta.name($1,$2)) isin $mta.ip($1,$2)) { if ($4 != $null) { mta.say $1 Market Activated! !.timermarket 0 $4 rpg.pricechange $mta.active } else mta.say $1 Prices will change every 5 mins !.timermarket 0 300 rpg.pricechange $mta.active } } elseif ($3 == !addadmin) { if ($readini($scriptdir $+ admin.ini,ADMIN,$mta.name($1,$2)) >= 1 && $readini($scriptdir $+ admin.ini,IP,$mta.name($1,$2)) isin $mta.ip($1,$2)) { !writeini -n " $+ $scriptdir $+ admin.ini" ADMIN $mta.name($1,$mta.getid($1,$4)) 1 !writeini -n " $+ $scriptdir $+ admin.ini" IP $mta.name($1,$mta.getid($1,$4)) $gettok($mta.ip($1,$mta.getid($1,$4)),1-2,46) mta.say $mta.name($1,$mta.getid($1,$4) Added with Admin } } elseif ($3 == !cp) { if ($readini($scriptdir $+ admin.ini,ADMIN,$mta.name($1,$2)) >= 1 && $readini($scriptdir $+ admin.ini,IP,$mta.name($1,$2)) isin $mta.ip($1,$2)) { if ($4 != $null) { mta.say $1 Prices Changed! !.timer 1 0 rpg.pricechange $mta.active } else mta.say $1 Error !cp } } elseif ($3 == !marketoff) { if ($readini($scriptdir $+ admin.ini,ADMIN,$mta.name($1,$2)) >= 1 && $readini($scriptdir $+ admin.ini,IP,$mta.name($1,$2)) isin $mta.ip($1,$2)) { mta.say $1 Market De-Activated! !.timermarket off } } elseif (!buywhore isin $3) { if ($rpg.area($1,$2) == Vercetti-Estate) { if (($4 isnum) && ($4 > 0)) { var %cash = $rpg.cash($1,$2),%whores = $rpg.whores($1,$2) if (%cash >= $calc($4 * $readini($rpg.dir $+ Prices.ini,WhorePrice,Wprice))) { if $4 <= 12 { if $rpg.whores($1,$2) != 12 { mta.msg $1 $2 You have bought $4 $iif($4 = 1,Whore,Whores) !writeini " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$2) cash $calc(%cash - $calc($4 * $readini($rpg.dir $+ Prices.ini,WhorePrice,Wprice))) !writeini " $+ $rpg.dir $+ Market.ini" $mta.name($1,$2) Whores $calc($readini($rpg.dir $+ Market.ini,$mta.name($1,$2),Whores)+ $4) } else mta.msg $1 $2 You can only have 12 Whores! } else mta.msg $1 $2 You can only have 12 Whores! } else mta.msg $1 $2 You do not have enough cash to buy $4 Whores! } } else mta.msg $1 $2 You must be at Vercett-Mansion to Buy Whores! } elseif (!sellwhore isin $3) { if ($rpg.area($1,$2) == Escobar-International) { if (($4 isnum) && ($4 > 0)) { var %cash = $rpg.cash($1,$2),%whores = $rpg.whores($1,$2) if $rpg.whores($1,$2) >= 1 { mta.msg $1 $2 You have sold $4 $iif($4 = 1,Whore,Whores) !writeini " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$2) cash $calc(%cash + $calc($4 * $readini($rpg.dir $+ Prices.ini,WhorePrice,Wprice))) !writeini " $+ $rpg.dir $+ Market.ini" $mta.name($1,$2) Whores $calc(%whores - $4) } else mta.msg $1 $2 You dont have any Whores! } } else mta.msg $1 $2 You must be at Escobar-International to Sell Whores! } elseif (!price isin $3) { mta.msg $1 $2 Whores: $ $+ $readini($rpg.dir $+ Prices.ini,WhorePrice,Wprice)) (Lowest: $ $+ 20000 Highest: 26999) mta.msg $1 $2 Vodka: $ $+ $readini($rpg.dir $+ Prices.ini,VodkaPrice,Vprice)) (Lowest: $ $+ 12000 Highest: 19999) mta.msg $1 $2 Cigs: $ $+ $readini($rpg.dir $+ Prices.ini,CigPrice,Cprice)) (Lowest: $ $+ 27000 Highest: 32999) } elseif ($3 == !mymrkt) { mta.msg $1 $2 Bank: $ $+ $rpg.bank($1,$2) mta.msg $1 $2 Market Items: Whores: $rpg.whores($1,$2) Vodka: $rpg.vodka($1,$2) Cigs: $rpg.cig($1,$2) } elseif ($3 == !mrkt) { if $4 != $null { mta.msg $1 $2 $mta.name($1,$mta.findid($1,$4)) $+ : Bank: $ $+ $rpg.bank($1,$mta.findid($1,$4)) mta.msg $1 $2 Market Items: Whores: $rpg.whores($1,$mta.findid($1,$4)) Vodka: $rpg.vodka($1,$mta.findid($1,$4)) Cigs: $rpg.cig($1,$mta.findid($1,$4)) } else mta.msg $1 $2 Bank: $ $+ $rpg.bank($1,$2) Market Items: Whores: $rpg.whores($1,$2) Vodka: $rpg.vodka($1,$2) Cigs: $rpg.cig($1,$2) } elseif (!buysig isin $3) { if ($rpg.area($1,$2) == Cherry-Poppers) { if (($4 isnum) && ($4 > 0)) { var %cash = $rpg.cash($1,$2),%cigs = $rpg.cig($1,$2) if (%cash >= $calc($4 * $readini($rpg.dir $+ Prices.ini,CigPrice,Cprice))) { if $4 <= 12 { if $rpg.cig($1,$2) != 12 { mta.msg $1 $2 You have bought $4 $iif($4 = 1,Cig,Cigs) !writeini " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$2) cash $calc(%cash - $calc($4 * $readini($rpg.dir $+ Prices.ini,CigPrice,Cprice))) !writeini " $+ $rpg.dir $+ Market.ini" $mta.name($1,$2) Cigs $calc($readini($rpg.dir $+ Market.ini,$mta.name($1,$2),Cigs)+ $4) } else mta.msg $1 $2 You can only have 12 Cigs! } else mta.msg $1 $2 You can only have 12 Cigs! } else mta.msg $1 $2 You do not have enough cash to buy $4 Cigs! } } else mta.msg $1 $2 You must be at Cherry-Poppers to buy Cigs! } elseif (!sellsig isin $3) { if ($rpg.area($1,$2) == Sunshine-Autos) { if (($4 isnum) && ($4 > 0)) { var %cash = $rpg.cash($1,$2),%cigs = $rpg.cig($1,$2) if $rpg.cig($1,$2) >= 1 { mta.msg $1 $2 You have sold $4 $iif($4 = 1,Cig,Cigs) !writeini " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$2) cash $calc(%cash + $calc($4 * $readini($rpg.dir $+ Prices.ini,CigPrice,Cprice))) !writeini " $+ $rpg.dir $+ Market.ini" $mta.name($1,$2) Cigs $calc(%Cigs - $4) } else mta.msg $1 $2 You do not have any Cigs! } } else mta.msg $1 $2 You must be at Sunshine-Autos to sell Cigs! } elseif (!buyvodka isin $3) { if ($rpg.area($1,$2) == Malibu-Club) { if (($4 isnum) && ($4 > 0)) { var %cash = $rpg.cash($1,$2),%vodka = $rpg.vodka($1,$2) if (%cash >= $calc($4 * $readini($rpg.dir $+ Prices.ini,VodkaPrice,Vprice))) { if $4 <= 12 { if $rpg.vodka($1,$2) != 12 { mta.msg $1 $2 You have bought $4 $iif($4 = 1,Vodka,Vodkas) !writeini " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$2) cash $calc(%cash - $calc($4 * $readini($rpg.dir $+ Prices.ini,VodkaPrice,Vprice))) !writeini " $+ $rpg.dir $+ Market.ini" $mta.name($1,$2) Vodka $calc($readini($rpg.dir $+ Market.ini,$mta.name($1,$2),Vodka)+ $4) } else mta.msg $1 $2 You can only have 12 Vodkas! } else mta.msg $1 $2 You can only have 12 Vodkas! } else mta.msg $1 $2 You do not have enough cash to buy $4 Vodkas! } } else mta.msg $1 $2 You must be at Malibu-Club to buy Vodkas! } elseif (!sellvodka isin $3) { if ($rpg.area($1,$2) == North-Point-Mall-(Vice-Point)) { if (($4 isnum) && ($4 > 0)) { var %cash = $rpg.cash($1,$2),%vodka = $rpg.vodka($1,$2) if $rpg.vodka($1,$2) >= 1 { mta.msg $1 $2 You have sold $4 $iif($4 = 1,Vodka,Vodkas) !writeini " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$2) cash $calc(%cash + $calc($4 * $readini($rpg.dir $+ Prices.ini,VodkaPrice,Vprice))) !writeini " $+ $rpg.dir $+ Market.ini" $mta.name($1,$2) Vodka $calc($readini($rpg.dir $+ Market.ini,$mta.name($1,$2),Vodka)- $4) } else mta.msg $1 $2 You do not have any Vodka! } } else mta.msg $1 $2 You must be at North-Point-Mall-(Vice-Point) to sell Vodkas! } } alias rpg.wprices !return $iif($readini($rpg.dir $+ Prices.ini,WhorePrice,Wprice),$readini($rpg.dir $+ Prices.ini,WhorePrice,WPrice),0) alias rpg.vprices !return $iif($readini($rpg.dir $+ Prices.ini,VodkaPrice,Vprice),$readini($rpg.dir $+ Prices.ini,VodkaPrice,VPrice),0) alias rpg.cprices !return $iif($readini($rpg.dir $+ Prices.ini,CigPrice,Cprice),$readini($rpg.dir $+ Prices.ini,CigPrice,CPrice),0) alias rpg.whores !return $iif($readini($rpg.dir $+ Market.ini,$mta.name($1,$2),Whores),$readini($rpg.dir $+ Market.ini,$mta.name($1,$2),Whores),0) alias rpg.vodka !return $iif($readini($rpg.dir $+ Market.ini,$mta.name($1,$2),Vodka),$readini($rpg.dir $+ Market.ini,$mta.name($1,$2),Vodka),0) alias rpg.cig !return $iif($readini($rpg.dir $+ Market.ini,$mta.name($1,$2),Cigs),$readini($rpg.dir $+ Market.ini,$mta.name($1,$2),Cigs),0) alias rpg.pricechange { !writeini -n " $+ $rpg.dir $+ Prices.ini" WhorePrice Wprice $rand(20000,26999) !writeini -n " $+ $rpg.dir $+ Prices.ini" VodkaPrice Vprice $rand(12000,19999) !writeini -n " $+ $rpg.dir $+ Prices.ini" CigPrice Cprice $rand(27000,32999) mta.say $1 Market Prices Have Changed. Go Shop! }
  12. Umm, There is a way to disable but i wouldnt suggest it. It scans the first two ip groups, so i dunno y that person keeps gettin kicked onless he switches ISP's all the time..
  13. Yes, That is true, but i like Catfish's idea Might add it, would have to make it be able to enable it and disable though. And, dont want to be wasting valuable CPU. Cya, [XE]Tommis
  14. Hmm, Alright, but i would have to set a character # limit. Like you couldnt go under 3 chars. Also, what is there is 375 maps starting with that? It would crash mirc even if i put a numtok and about 5 mta.text. Though, i will look into it. Gonna try it now btw. Cya, [XE]Tommis
  15. Hello, I decided to make this topic to hear what you guys want in the next release of General Use Scripts. We want to hear your ideas! Me, [uVA]Kevwuk or possibly [FMJ]master will attend to it as soon as possible. Please note that your idea or sugestion *might* be included in the next version. Please do not use this thread for support or your problems. Newest Version: http://forum.mtavc.com/viewtopic.php?t=15552 **Please note these are scripts for mIRC running off of Aeron's MTA:mA. These are (So far) only ment for Multi theft Auto San Andreas Race. This is not for any other version of Multi Theft Auto. Other than that, lets hear what you want! Cya, [XE]Tommis
  16. Tommis

    MTA:MA Scripting

    haha, ye i read it over now. Didnt know what i was talking about and was a libary computer. Soz, Well nice to know it works now
  17. Tommis

    MTA:MA Scripting

    Hey, well i took a quick glance at it and i saw u have no $ infront of ctw. Maby that the problem? Im am not 100% sure but try like (Under mta.join signal) ($ctw $+ $1) or what ever it was. Well hope that helps! Cya, [XE]Tommis
  18. Hey, u just type !set. Nothing after it. You type !set and nothing else after it. It sets YOU as admin and says some info after it. Like how to add a Upload URL and a Welcome Message. Had some problems with the old set. though, i am going to be adding !addadmin soon. Maby in the next release. Client 1.1.1 came out and im going to be looking into that. For now im away from home and cannot do much. Good Luck, [XE]Tommis
  19. Sorry Talidan, Was in a rush that day and i got internet from where im at vacation now an read on it up. I clearly said all credit to who made it. Cya, [XE]Tommis
  20. Hmm, Can u explain any further, this has been tested and works perfectly. Well, my friend Summerville[NL] will be helping me and releasing a noob-o-perfect tutorial with picture cropped ect. Please wait till that will come out. I think this will help almost all of u. Goodn Luck, [XE]Tommis
  21. Don't make me rewrite MTA:mA! *Cough* [ONTOPIC] I agree with Kev and fully support his suggesstion.
  22. Yep, released a new version, think that should do well. (x12) **Please thx for he helped ALOT. Thx! Cya, [XE]Tommis
  23. Hey, Yes i had that same problem. Wellm i revieved this patch from Summerbase.[nl]. He said he had recieved it from "Edd". It fixes that problem i believe. Well, it did for me and him, had like 1 billion crash's. Download Here --> http://www.mta-xe.com/Client.dll **Please use this ONLY if you get Crash's Now, this file goes in "MTA San Andreas\mods\race" and overwrite the old one. Usually the Dir is "C:\Program Files\MTA San Andreas\mods\race" This was givin to me by Summerbase.[nl], please let the Credits go to him, though the creator Ed should get it Cya, [XE]Tommis
  24. Alright, That aok coz, this script is open source and is free to edit, though i please ask if you could keep he !info to me. Please Not: This is how Admin Check works. If you or someone has admin level that is higer than 2, well there is no Login in this script, because it aint synced! It checks the first 2 ip groups of your IP and compares it to the one of the level 2 or higer person. If the first 2 ip groups match (Subnet) you are not kicked, but if it doesent, you get kicked. Its to protect the admin, if u want u can disable it, though i dont advise it. Its under MTA.Join (Signal) Also, a friend of mine is going to be releasing a tutorial on how to use these, should be perfect for joo beginnaz Have fun, [XE]Tommis
  25. MTA :: General Use Scripts x11 for R1.1 Released! Way easier and better! !ping, ect ect! Better stats! Look main page to download!
×
×
  • Create New...