Jump to content

damnet007

Members
  • Posts

    87
  • Joined

  • Last visited

Everything posted by damnet007

  1. try this: on *:SIGNAL:mta.command:{ ;Parameters: ;$1 = Server ;$2 = ID ;$3 = Command ;$4- = Parameters var %a = $iif($4,$iif($mta.nick($1,$4) != $null,$4,$gus.getid($1,$4)),$2) ///////////////////////////////////////////////////// ////////////// MTA:mA:GUS RPG ///////////// ///////////////////////////////////////////////////// // ..Work in Progress.. // // ..Please remember to update.. // ///////////////////////////////////////////////////// if ($3 == !brb) mta.text $1 $mta.nick($1,$2) on kohe tagasi! $iif($4,Ajend: $4-,n/a) elseif ($3 == !setstats) || ($3 == !setstatus) { if ($4) { mta.text $1 $mta.nick($1,$2) muutis staatuse. Tema uus staatus on $4- writeini -n " $+ $scriptdir $+ mode.ini" STATUS $mta.nick($1,$2) $4- } } }
  2. on *:SIGNAL:mta.command:{ if ($3 == !race) { if (Sunshine-Autos isin $mta.area($1,$2)) { !.timer 1 1 mta.say $1 Race Script 0.1 BETA by: *TLR*Deemon Started!// !.timer 1 2 mta.say $1 All Players Go To Sunshine-Autos To Race!// 60 Seconds Left!!!// !.timer 1 3 mta.say $1 Race: From Sunshine-Autos to StarFish Island! !.timer 1 30 mta.say $1 30 Seconds Left, Hurry UP!!!// !.timer 1 55 mta.say $1 5 Seconds Left!!// !.timer 1 56 mta.say $1 4 Seconds Left!!// !.timer 1 57 mta.say $1 3 Seconds Left!!// !.timer 1 58 mta.say $1 2 Seconds Left!!// !.timer 1 59 mta.say $1 1 Second Left!!// !.timer 1 60 mta.say $1 Time Over!// !.timer 1 61 mta.say $1 Ready..// !.timer 1 62 mta.say $1 Set..// !.timer 1 63 mta.say $1 GOOOOOOOOOOOOOOOOOOOOOOOO!// } else mta.msg $1 $2 Get to Sunshine Autos! } if ($3 == !finish) { if (Starfish-Island isin $mta.area($1,$2)) { mta.say $1 $mta.name($1,$2) Finished! } else mta.msg $1 $2 You are not at Starfish Island! } }
  3. dont you read what i write? w/e mirc will change the $chr(47) to '/' when it sends text, but when mta client see's a / sign in front of text it thinks that it's a function and does not print it. You Just need to cut off all those / in front of text, you can leave it in the end tho argh i wasnt aware of that
  4. if you want to keep those /'s i'd advise you to use $chr(47) which afaik is the code for the '/' char.
  5. on *:SIGNAL:mta.command:{ if ($3 == !race) { if ($mta.area($1,$2) == Sunshine-Autos Viceport Vice-City-Mainland) { !.timer 1 1 mta.say $1 //Race Script 0.1 BETA by: *TLR*Deemon Started!// !.timer 1 2 mta.say $1 //All Players Go To Sunshine-Autos To Race!// 60 Seconds Left!!!// !.timer 1 3 mta.say $1 //Race: From Sunshine-Autos to StarFish Island! !.timer 1 30 mta.say $1 //30 Seconds Left, Hurry UP!!!// !.timer 1 55 mta.say $1 //5 Seconds Left!!// !.timer 1 56 mta.say $1 //4 Seconds Left!!// !.timer 1 57 mta.say $1 //3 Seconds Left!!// !.timer 1 58 mta.say $1 //2 Seconds Left!!// !.timer 1 59 mta.say $1 //1 Second Left!!// !.timer 1 60 mta.say $1 //Time Over!// !.timer 1 61 mta.say $1 //Ready..// !.timer 1 62 mta.say $1 //Set..// !.timer 1 63 mta.say $1 //GOOOOOOOOOOOOOOOOOOOOOOOO!// } else mta.msg $1 $2 Get to Sunshine Autos! } if ($3 == !finish) { if (Starfish-Island isin $mta.area($1,$2)) { mta.say $1 $mta.name($1,$2) Finished! } else mta.msg $1 $2 You are not at Starfish Island! } } i just skimmed through it and saw a few brackets missing, try this.
  6. damnet007

    Help needed

    I'd add a - after $3 so it picks up anything in the sentence: on *:SIGNAL:mta.text: { if (david isin $3-) mta.text $1 David is nice! }
  7. just had a quick read through a few aliases of this script. try the following (to fix that rob error): Find: alias rpg.isplace { if ($findtok($readini($rpg.dir $+ rpg.data.ini,data,districts),$rpg.area($1,$2),1,44) == $null && $findtok($readini($rpg.dir $+ rpg.data.ini,data,cities),$rpg.area($1,$2),1,44) == $null && !$findtok($readini($rpg.dir $+ rpg.data.ini,data,places),$rpg.area($1,$2),1,44) == $null && $rpg.area($1,$2) != Unknown) { !return $true } } change !$findtok to $findtok - just remove the exclamation mark '!' and let me know if that solves it. i tried highlighting it in red but it didnt work because of the code tags, so in that line just look for !$findtok
  8. on *:SIGNAL:mta.command:{ if ($3 == !kickme) { mta.say $1 $mta.name($1,$2) wants to be kicked... mta.kick $1 $2 } } i just think of it this way: $1 is server $2 is the user typing the command $3 is the command they type $4 is the word after the command they type etc %a would be a var that you set to do something but it's not needed in your script. (the above helps if you use mtama)
  9. [quote name=>SoL you can find both those scripts at this wonderfull location right here! YOU ARE BENT O M G there was no need for that. believe it or not he was correct- i searched for 1min and found this: http://forum.mtavc.com/viewtopic.php?t= ... ht=tempban it's for sa but not hard to convert- mta.text become mta.say, mta.nick become mta.name, etc. as for the ping stuff, use a ready-made admin system if you can't script but try learning as it will help. if youre still stuck pm me and i'll try to help
  10. That's stupid imo to start a clan in a month after your prev one.. your clan just can't become respected, popular, etc. for a month! you needa do something for it.. Not just say: "blah that clan aint successfull, ill start a new one" And if it has problems, don't leave it for a new clan.. you'd never be successful acting like this.. .... toady's right...a clan requires time and patience gl with this clan though
  11. damnet007

    Clan [TRU]

    I've given him ample webspace etc, but he said he'll get a domain some time in the future
  12. Any idea how to check for an unofficial client? Anyone got anything to kick/ban unofficial client users? thanx
  13. damnet007

    Lol? :D

    If you provided the script here we could see what's wrong with it.
  14. damnet007

    New to Scripts

    indeed when you say 'hire' does it mean you'll pay?
  15. on *:SIGNAL:mta.join:{ if $readini($rpg.dir $+ badnicks.ini,illegal,$mta.name($1,$2)) == 1 { mta.msg $1 $2 $mta.name($1,$2) is a forbidden name on this server, please change it via the options tab! !.timer 1 30 mta.kick $1 $2 } }
  16. best thing to do is set up a list of names you don't want people to use, and save it into a file. then get a script to read the file and check if the name's banned on join. something like: on *:SIGNAL:mta.join:{ if $readini($rpg.dir $+ badnicks.ini,illegal,$mta.name($1,$2)) == 1 { mta.msg $1 $2 $mta.name($1,$2) is a forbidden name on this server, please change it via the options tab! mta.kick $1 $2 } } ... and then make a file called badnicks.ini and keep this as the content: [illegal] MTAPlayer=1 (other names)=1 ... the reason i put the =1 bit in was so that you could use the file for other stuff as well like if you made a script to allow/disallow the nickname etc.
  17. you could do sumin like, if the player types !en it writes to a file to say that the language is english. then for every command, check to see if they are polish or english to generate the answer. would probably be very long winded though
  18. jeremy ive also got another 15 or so of my own, probably badly scripted, but they work on the server and people use em a lot. i need them checked out by a pro tbh
  19. meh i need my scripts checked out then
  20. yeah wot smartie said, and if you find a cheap one plz let me know cos im in need
  21. yeah wot smartie said, and if you find a cheap one plz let me know cos im in need
  22. yea we could play against hackers like Peet, and play on olis And Jax's rpg. ummm andy he was banned and kicked from DMC ages ago
  23. The RPG Server has a working RPG script which many enjoy too
  24. yes i did but problem sorted after restarting pc and pc updates
×
×
  • Create New...