Jump to content

Race Script For MTA:0.5 VC.


ImJohnMclane

Recommended Posts

Posted

i don't know whats wrong there, please fix it , scripters. :cry:

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!//
}
 if ($3 == !finish) { 
  if (Starfish-Island isin $mta.area($1,$2)) {
mta.say $1 $mta.name($1,$2) Finished!
} 

Thanks,

Deemon :wink:

Posted

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. :P

Posted
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. :P

Nothing . ill typing: !race and nothing happens.

Posted

.........

of course it doesn't work, coz of those damn // :? mta thinks its a command like /slap or /msg etc. Just get rid of them

and i suggest u changing

if ($mta.area($1,$2) == Sunshine-Autos Viceport Vice-City-Mainland) {

to

if (Sunshine-Autos isin $mta.area($1,$2)) {

Do not PM me, im not going to read it anyway.

Posted
.........

of course it doesn't work, coz of those damn // :? mta thinks its a command like /slap or /msg etc. Just get rid of them

and i suggest u changing

if ($mta.area($1,$2) == Sunshine-Autos Viceport Vice-City-Mainland) {

to

if (Sunshine-Autos isin $mta.area($1,$2)) {

still not working :cry:

Cya,

Deemon :wink:

Posted
if you want to keep those /'s i'd advise you to use $chr(47) which afaik is the code for the '/' char. :P

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

Do not PM me, im not going to read it anyway.

Posted
if you want to keep those /'s i'd advise you to use $chr(47) which afaik is the code for the '/' char. :P

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 :(

Posted
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!
 }
} 

Posted

You must load it in the Remote section of mIRC:

ALT+R

ALT+R (Yes twice...)

CTRL+L

"Never argue with an idiot. They bring you down to their level and beat you with experience."

"Arguing on the internet is like the Special Olympics. Even if you win, you're still retarded."

signature.gif

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...