Problem with OnPlayerText - 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)
+--- Thread: Problem with OnPlayerText (
/showthread.php?tid=523028)
Problem with OnPlayerText -
Tadas - 30.06.2014
Hello. I need help to remove first name OnPlayerText.
I added photo to
Re: Problem with OnPlayerText -
Brezon - 30.06.2014
Show us your code please
Re: Problem with OnPlayerText -
Rittik - 30.06.2014
Show the codes under onplayertext.
Re: Problem with OnPlayerText -
Tadas - 30.06.2014
pawn Код:
if(PlayerInfo[playerid][owner] == 1)
{
new textsavininkas[128];
format(textsavininkas, sizeof (textsavininkas), "{FFFF00}[Owner] %s: {C0C0C0}%s", name, text);
SendPlayerMessageToAll(playerid, textsavininkas);
return 0;
}
Re: Problem with OnPlayerText -
BroZeus - 30.06.2014
see if in your FS's that there is no return 1; under OnPlayerText
Re: Problem with OnPlayerText -
Tadas - 30.06.2014
Quote:
Originally Posted by BroZeus
see if in your FS's that there is no return 1; under OnPlayerText
|
Nope. Problem not in the FS's
Re: Problem with OnPlayerText -
Konstantinos - 30.06.2014
Replace "SendPlayerMessageToAll" with "SendClientMessageToAll" and "playerid" with "-1".