04.04.2010, 14:17
Hello guys,
I saw on a server that a "bot" sends randomly messages, but not with SendClientMessage.
The bot just wrote it into Mainchat, and it had a name.
I tried:
but this didnt work....gave me error.
works only for a player.
How can I define the playerid to a bot-name, means a name that I coose.
Can anyone help me?
PS: if you don't understand what I mean, please tell.
I would be happy about a solution.
Jeffry
I saw on a server that a "bot" sends randomly messages, but not with SendClientMessage.
The bot just wrote it into Mainchat, and it had a name.
I tried:
pawn Код:
SendPlayerMessage("Bot", "Hi");
pawn Код:
SendPlayerMessage(playerid, "Hi");
How can I define the playerid to a bot-name, means a name that I coose.
Can anyone help me?
PS: if you don't understand what I mean, please tell.
I would be happy about a solution.
Jeffry