Home
Help
Search
Login
Register
Vice City Multiplayer
»
VC:MP 0.3
»
mIRC/pawn Scripting
(Moderators:
Simon
,
kenny01
) »
Distance
« previous
next »
Print
Pages: [
1
]
Author
Topic: Distance (Read 3054 times)
0 Members and 1 Guest are viewing this topic.
kitt85711
Wiseguy
Posts: 72
Distance
«
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?
Logged
[AoD]NC
VC:MP Beta Tester
VC:MP Veteran
Posts: 616
AoD forever!
Re: Distance
«
Reply #1 on:
September 03, 2011, 03:46:21 pm »
Emmm...
Quote
distance to where you can only see
Draw distance ;s? If this, it's not for scripting.
Logged
My YT channel:
http://www.youtube.com/user/1234sdg131
kitt85711
Wiseguy
Posts: 72
Re: Distance
«
Reply #2 on:
September 03, 2011, 11:32:20 pm »
:/ 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
Logged
[AoD]NC
VC:MP Beta Tester
VC:MP Veteran
Posts: 616
AoD forever!
Re: Distance
«
Reply #3 on:
September 04, 2011, 12:05:19 pm »
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.
Logged
My YT channel:
http://www.youtube.com/user/1234sdg131
yazeen
Guest
Re: Distance
«
Reply #4 on:
September 05, 2011, 02:54:28 pm »
You mean whisper ah? use GetDistanceBetweenplayers(plr1,plr2) function
Logged
stormeus
VC:MP Developer
VC:MP Veteran
Posts: 1122
Re: Distance
«
Reply #5 on:
September 05, 2011, 02:56:29 pm »
This code should be on the forum already, or in GUPS. There's a Squirrel example on the
Squirrel forum
which is essentially the same thing.
Logged
Do not PM me for support.
Print
Pages: [
1
]
« previous
next »
Vice City Multiplayer
»
VC:MP 0.3
»
mIRC/pawn Scripting
(Moderators:
Simon
,
kenny01
) »
Distance