Problem with OnPlayerText
#1

Hello. I need help to remove first name OnPlayerText.
I added photo to
Reply
#2

Show us your code please
Reply
#3

Show the codes under onplayertext.
Reply
#4

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;
    }
Reply
#5

see if in your FS's that there is no return 1; under OnPlayerText
Reply
#6

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
Reply
#7

Replace "SendPlayerMessageToAll" with "SendClientMessageToAll" and "playerid" with "-1".
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)