Function
#1

Hey sa-mp.com. Have someone a function like this?:

If a player talk to a player and the distance is largest than 50.0, the conversations have some interupts? Like this:
X: Hel..o, how a... you?
Y: Hey, you don't have enought signal.
end if the player is sorthest than 50 will be like this:
X: Hello, how are you?
Y: Hey, fine, you?

Something like this, sorry for my bad english. Thank you for help.
Reply
#2

As far as i know i don't think so. There is stock PROX you can make but if you are in that range message is visible and if not message is not visible. I am nost sure that you can make that..
Reply
#3

Editing Codes wait pls.
Reply
#4

Quote:
Originally Posted by Micko123
Посмотреть сообщение
As far as i know i don't think so. There is stock PROX you can make but if you are in that range message is visible and if not message is not visible. I am nost sure that you can make that..
Hey, have a look here: https://sampforum.blast.hk/showthread.php?tid=570635
Reply
#5

Few stocks won't make damage xD
Reply
#6

Код:
 public OnPlayerText(playerid, text[])
{
    new pText[128];
    new thetext[128];
    format(thetext,sizeof(thetext),"...");
    format(pText, sizeof (pText), "%s", text);
	new thenumbers[4]; 
    strins(pText,thetext, 3);
    strins(pText,thetext, 8);
    strins(pText,thetext, 15);
    SendClientMessage(playerid, -1,pText);
    printf("%s",pText);
	return 1;
}
switch how you define text etc that was just for me to work on testing it.


Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)