SA-MP Forums Archive
GetPlayerText Function - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: GetPlayerText Function (/showthread.php?tid=129727)



GetPlayerText Function - Torran - 23.02.2010

Would it be possible to make a GetPlayerText Function?
Thats usable in commands, Like you put

new text;
text = GetPlayerText(playerid);

And then on sendclientmessage you do a string and put Message: %s and it would send the message,
So would it be possible to make a GetPlayerText function?


Re: GetPlayerText Function - BlackFoX - 23.02.2010

Код:
OnPlayerText(yourid,"Yourtext");
You can change id if you want , so it looks like the Player Send the text :>


Re: GetPlayerText Function - Torran - 23.02.2010

Quote:
Originally Posted by Torran
Would it be possible to make a GetPlayerText Function?
Thats usable in commands, Like you put

new text;
text = GetPlayerText(playerid);

And then on sendclientmessage you do a string and put Message: %s and it would send the message,
So would it be possible to make a GetPlayerText function?
I want it for use on commands for like /tc and /r ect