Jump to content

mta.slap


RA

Recommended Posts

Posted

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

Posted

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 ?

Posted

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.

Posted

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

Posted

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
     }

Posted

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

Proud member of Multi Theft Auto

Founder of Full Metal Jacket

mtateam5fq.png

fmjbar2hk.png

Creator of MTA:mA:GRS

http://www.mtafmj.com

http://www.full-fat.com

Posted

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

"Never argue with an idiot. They bring you down to their level and beat you with experience."

"Arguing on the internet is like the Special Olympics. Even if you win, you're still retarded."

signature.gif

  • 5 months later...
Posted

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
     }

Posted
 %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

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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