Its possible make SendChat("") to send the message only for a player?
#1

Its possible make SendChat("") to send the message only for a player?
Reply
#2

yes, but not "SendChat" it is possible to send text with nickname and text.
Reply
#3

Try doing SendPlayerMessageToPlayer, inside the GM/FS using the bot.
Reply
#4

pawn Код:
SendClientMessage(playerid, "Lalalala");


https://sampwiki.blast.hk/wiki/Main_Page
Reply
#5

It is possible!

Put in npc:

pawn Код:
Wrong codes!
Put in GameMode/OnPlayerCommandText:

pawn Код:
Wrong codes!
Usage:
SendChatToPlayer(receiverid, message[]);
Reply
#6

Or you chould do it my way...

Quote:
Originally Posted by Zezombia
Try doing SendPlayerMessageToPlayer, inside the GM/FS using the bot.
Reply
#7

Quote:
Originally Posted by Zezombia
Or you chould do it my way...

Quote:
Originally Posted by Zezombia
Try doing SendPlayerMessageToPlayer, inside the GM/FS using the bot.
Won't work.
Reply
#8

Quote:
Originally Posted by erorcun
It is possible!

Put in npc:

pawn Код:
Wrong codes!
Put in GameMode/OnPlayerCommandText:

pawn Код:
Wrong codes!
Usage:
SendChatToPlayer(receiverid, message[]);
Use this. :P
Reply
#9

I'm sorry, I was given the wrong codes.

Deleted codes.

Sorry for double post.
Reply
#10

This is possible by scripting but why not just do: SendCommand("/pm (id) Hello!"); ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)