RA Posted October 21, 2004 Posted October 21, 2004 I have been trying to get mta.slap working with mtama and it doesn't work. The command runs and says ** Admin slaps Racer OUT OF BOUNDS at Portland-View Portland. However, the player doesn't get hurt at all. What is up? Running GTA3
RA Posted October 21, 2004 Author Posted October 21, 2004 Oli: Ok, I'll try it. But why in the world would mta.say actually hurt someone just because there is a /slap in the message ?
Shib Posted October 21, 2004 Posted October 21, 2004 Because if you do /slap from remote admin and a name it will slap a player. It needs to say /slap in order for it to work. You wont see the /slap message.
Mike Posted October 21, 2004 Posted October 21, 2004 because when you're talking from the admin bit in mtama and you say /slap it slaps them, and mta.say just does the same thing
nivko Posted October 21, 2004 Posted October 21, 2004 this is my slap script if ($3 == !slap) { %b = $iif($4 isnum,$4,$mta.getid($1,$4)) /mta.slap $1 %b } this is my kill script if ($3 == !kill) { %b = $iif($4 isnum,$4,$mta.getid($1,$4)) /mta.slap $1 %b /mta.slap $1 %b /mta.slap $1 %b /mta.slap $1 %b /mta.slap $1 %b }
Oli Posted October 21, 2004 Posted October 21, 2004 look in mta.mrc for alias mta.slap ull notice all it does is: mta.say $1 /slap $chr(35) $+ $2 where $chr(35) is the ascii number for the symbol # and if u do in the admin console: /slap #2 itll slap player id 2 in the server
Aeron Posted October 22, 2004 Posted October 22, 2004 Just another MTA bug: /mta.slap will display and takes 20% health of the player /mta.slap will display and does not take 20% health of the player
yield Posted March 31, 2005 Posted March 31, 2005 Sorry for awakening this old dead topic.. I'd just like to request that someone could check this script. I tried to use it but with no sucess. I'll appreciate to have those commands working. Oli, you might consider to include those commands in next version of GRS. Thanks. this is my slap script if ($3 == !slap) { %b = $iif($4 isnum,$4,$mta.getid($1,$4)) /mta.slap $1 %b } this is my kill script if ($3 == !kill) { %b = $iif($4 isnum,$4,$mta.getid($1,$4)) /mta.slap $1 %b /mta.slap $1 %b /mta.slap $1 %b /mta.slap $1 %b /mta.slap $1 %b }
MrJax Posted March 31, 2005 Posted March 31, 2005 %b = $iif($4,$iif($mta.name($1,$4) != Unknown),$4,$mta.getid($1,$4)),$2) if ($3 == !kill) !.timer 5 0 mta.slap $1 %b
darkdreamingdan Posted March 31, 2005 Posted March 31, 2005 he did consider them. but decided not to because of abuse, they can be added manully anyway
Oli Posted March 31, 2005 Posted March 31, 2005 The !slap script will never be added to GRS due to my own reasons. If you want 1 then make your own. Locked.
Recommended Posts