Jump to content

would be nice...


Recommended Posts

Posted

would be nice if (by selecting it in the admin options) in the next version of mta there will be th possibility to chat only if u're near to another player....i mean....instead of the chat box would be funny if when someone speaks appears a bubble like in the comics...if it was so i could make a plan of attack and my enemies couldn't "hear" it

Posted

but you'd have to type / right? it can't just change the text in the chatbox can it?

Posted

anyway.....coooooooooool!!!!

maybe the developers of mta will make it possible in the next version....it would be very very funny...

anyway....post your script when you've finished it... :wink:

Posted

lol omg nice 1 mike, btw olis script rox0rs

4m85g1y.png

Make sure to use the Search feature before posting a new topic.

Click here for detailed MTA: San Andreas server setup guides.

Posted

alias whisper.distance {
 var %x,%y,%z
 %x = $abs($calc($1 - $2))
 %y = $abs($calc($3 - $4))
 %z = $abs($calc($5 - $6))
 !return $round($sqrt($calc(%x * %x + %y * %y + %z * %z)),2)
}
on *:SIGNAL:mta.pm:{
 if ($3 == whisper) {
   var %a = 0
   unset %b
   while %a < $mta.maxplayers($1) {
     if (($whisper.distance($mta.location($1,$2,x),$mta.location($1,%a,x),$mta.location($1,$2,y),$mta.location($1,%a,y),$mta.location($1,$2,z),$mta.location($1,%a,z)) <= %whisper) && (%a != $2) && ($mta.name($1,%a) != Unknown)) {
       mta.msg $1 %a Whisper from $mta.name($1,$2) $+ : $4-
       %b = $iif($chr(44) !isin %b,$mta.name($1,%a),%b $+ $chr(44) $chr(32) $mta.name($1,%a))
     }
     !inc %a
   }
   mta.msg $1 $2 Message delivered to $iif(%b,%b,no-one)
   unset %a
   unset %b
 }
}

There ya go ;)

P.S: Thanks to Oli for the distance calculations :)

Posted

C++ is the language used for most big programs, right? well if that is true then i dont see what isnt possible with blue :)

Posted

I don't know if this was mentioned before but maybe there can be a separate chatbox for pming people because sometimes people usually talk a lot on the chatbox so you miss what other people say. It should have a toggle option from chatbox to pm chatbox.

Posted

And /msg clan can also be used for wildcard names. E.g: /msg clan tali Yo Talidan :P

Edit: I also have another script specially for quick messages :D

on *:SIGNAL:mta.pm:{ 
 if ($3 == quick) { 
   mta.msg $1 $2 PM sent to $mta.name($1,$mta.getid($1,$4)) 
   mta.msg $1 $mta.getid($1,$4) PM from $mta.name($1,$2) $+ : $5- 
 } 
}

/msg quick

Posted
And /msg clan can also be used for wildcard names. E.g: /msg clan tali Yo Talidan :P

Edit: I also have another script specially for quick messages :D

on *:SIGNAL:mta.pm:{ 
 if ($3 == quick) { 
   mta.msg $1 $2 PM sent to $mta.name($1,$mta.getid($1,$4)) 
   mta.msg $1 $mta.getid($1,$4) PM from $mta.name($1,$2) $+ : $5- 
 } 
}

/msg quick

Typing quick is just adding more to it! Let's say their name was Bob, all you would have to do is /msg bob! :P

Posted

But the majority of people that you send a message to have tags and other stuff by their name which isn't always easy to type quickly.

  • Recently Browsing   0 members

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