SamB Posted September 9, 2006 Share Posted September 9, 2006 This script should display allies, but theres something wrong with it. on *:SIGNAL:mta.command:{ if ($3 == !allies) { !.timer 1 0 mta.text $1 $2 -----Allies----- !.timer 1 2 mta.text $1 $2 Teppe !.timer 1 4 mta.text $1 $2 No-Fear !.timer 1 6 mta.text $1 $2 Sixty Second Terrorists } } It works perfect accept theres a 0 at the starts of each line. Anyone know why? Link to comment
BetaDevil Posted September 9, 2006 Share Posted September 9, 2006 Yes, your ID is 0, and $2 shows your ID... so you have to delete the $2's Link to comment
lil Toady Posted September 9, 2006 Share Posted September 9, 2006 on *:SIGNAL:mta.command:{ if ($3 == !allies) { !.timer 1 0 mta.text $1 -----Allies----- !.timer 1 2 mta.text $1 Teppe !.timer 1 4 mta.text $1 No-Fear !.timer 1 6 mta.text $1 Sixty Second Terrorists } } $1 - Server ID (Tab in mta:ma) $2 - Player ID else - Text Link to comment
Recommended Posts