Guest Posted July 4, 2006 Share Posted July 4, 2006 hi all, im busy with my own script for MTA:SA i want add a command like '!ping' (to see the players ping) i tried '$mta.ping($1,$zzz)' but it didn't work , does any one know what the right thing is? (example) i want a command like this: [sK]RazR: !ping [sK]RazR's ping is: ** thanks, RazR. Link to comment
lil Toady Posted July 4, 2006 Share Posted July 4, 2006 1. you needa post in add-ons section 2 here's a good ping command script for ya: on *:SIGNAL:mta.command:{ if ($3 == !ping) { var %a = $iif($4,$iif($mta.nick($1,$4) != $null,$4,$mta.getid($1,$4)),$2) if (%a == -1) mta.pm $1 $2 Error - Absent ID else mta.text $1 $mta.nick($1,%a) $+ 's ping is: $mta.ping($1,%a) } } Link to comment
Guest Posted July 4, 2006 Share Posted July 4, 2006 Thanks for helping me so soon as posible i will release my script if any one want to have it Link to comment
Recommended Posts