10.06.2012, 17:32
Just ignore all of them. They are trying to fuck your server.
Windows32 doesn't even know what he is doing.
Mr. Rudy"_" is just copy/pasting.
Use this. You have to edit things according to your need though.
Just for a quick note, OnPlayerText is called when a player writes something in the chat box and presses enter. Sending a message for every player who writes something in the chat is just trolling or plain foolishness.
Windows32 doesn't even know what he is doing.
Mr. Rudy"_" is just copy/pasting.
pawn Код:
public
OnPlayerConnect(playerid)
{
new
string[128],
nameoftheplayerhaha[MAX_PLAYER_NAME]
;
GetPlayerName(playerid, nameoftheplayerhaha, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s (%d) has joined YOUR SERVER NAME HERE", nameoftheplayerhaha, playerid);
SendClientMessageToAll(-1, string); // You don't simply send message to all in role play servers
}
Just for a quick note, OnPlayerText is called when a player writes something in the chat box and presses enter. Sending a message for every player who writes something in the chat is just trolling or plain foolishness.