Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: kitt85711 on September 03, 2011, 01:14:39 pm
-
You know how if you say /c l or /c s or something like that there's like a distance to where you can only see them type that? How would I do that?
-
Emmm...
distance to where you can only see
Draw distance ;s? If this, it's not for scripting.
-
:/ you forgot the 'them type' its not draw distance its where you say like /c s hi guys!
Kittrell: Kittrell has shouted out: hi guys!
but when you shout the distance will be further. what I mean is you have to be a certain distance from a player to even see what they are saying in rpg form
-
Oh that's... I think someone posted such a code already. Basically you have to disable chat (in pawn return 0?) and make a command, which cheks who is near the player and for those who are, sending them a pm.
-
You mean whisper ah? use GetDistanceBetweenplayers(plr1,plr2) function
-
This code should be on the forum already, or in GUPS. There's a Squirrel example on the Squirrel forum (http://vcmp.liberty-unleashed.co.uk) which is essentially the same thing.