chat help
#1

hello guys, am starting to create my own GM.
and i have a problem with the chat,
i'v made a new clean script,
And i'll make an RP server, so.
when some one talks THE WHOLE
server sees it, but what i want is.
that if some one talks on the regular chat.
only people that stand 5 meters away from the player
will see it thanks for the helpers
Reply
#2

ProxDetector or SmartChat would help you.
Reply
#3

IsPlayerInRangeOfPoint also
Reply
#4

I think you mean a /ooc script ,like Gf,well,
Use a variable to check ,that Admins enable ooc,
Dont want to make the whole script ,Im to lazy now ,well,
if it is enabled,use
Quote:

new Name[MAX_PLAYERS],new string[128];//name and string
GetPlayerName(playerid,Name,sizeof(Name));
format(string,sizeof(string),"Player %s says:%s",Name);
SendClientMessageToAll(0xFFFFFFFF,string); the last crap can you do on your own!

Dimi :
IsPlayerInRangeOfPoint isnґt really efficient to use it ,while the variable is enabled...
Reply
#5

Try this Freind.

https://sampforum.blast.hk/showthread.php?tid=270094

I hope you like my help.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)