Guest Posted September 10, 2005 Share Posted September 10, 2005 anyone knows that? !backup The Police Force needs Backup ----------------------------------------- !status - (to see status - InGame or OutGame-) Please, thnks Link to comment
Niels Posted September 10, 2005 Share Posted September 10, 2005 on *:SIGNAL:mta.command: { if ($3 == !backup) { mta.say $1 The Police Force needs Backup } if ($3 == !status) { if ($4 != $null) { %b = $iif($4 isnum,$4,$mta.getid($1,$4)) mta.say $1 $mta.name($1,%b) is $mta.status($1,%b).text } else mta.say $1 $mta.name($1,$2) is $mta.status($1,$2).text } } Link to comment
Harry Posted September 18, 2005 Share Posted September 18, 2005 Use spaces for decent indenting Niels!! This is Ultimely Ugly Code ! Link to comment
andeh Posted September 18, 2005 Share Posted September 18, 2005 on *:SIGNAL:mta.command: { %b = $iif($4 isnum,$4,$mta.getid($1,$4)) if ($3 == !backup) mta.say $1 The Police Force needs Backup at $mta.area($1,$2) $+ ! elseif ($3 == !status) { if ($4 != $null) mta.say $1 $mta.name($1,$2) is $mta.status($1,$2).text $+ . else mta.say $1 $mta.name($1,%b) is $mta.status($1,%b).text $+ . } } This is better Link to comment
[XII]Fexsi0n Posted September 18, 2005 Share Posted September 18, 2005 Wouldn't it be better if only the cops can ask for Police Backup? Link to comment
DopeY Posted September 30, 2005 Share Posted September 30, 2005 it would be better if only cops can ask for backup, and that it only tells other cops in a PM edit: ill do 1 for u in a bit, busy atm Link to comment
Recommended Posts