Jump to content

Race Script For MTA:0.5 VC.


ImJohnMclane

Recommended Posts

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:

Link to comment

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

Link to comment
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.

Link to comment

.........

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)) {

Link to comment
.........

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:

Link to comment
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

Link to comment
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 :(

Link to comment
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!
 }
} 

Link to comment
  • Recently Browsing   0 members

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