SendPlayerMessage - Not Defined
#1

Well im making a Bot system, and OnPlayerText SendPlayerMessage is not defined i have the latest includes but im told that it should be defined with the includes any help?
Reply
#2

SendClientMessage ?
Reply
#3

Quote:
Originally Posted by KayaQue
SendClientMessage ?
>.< Ok Im sorry but im not a retard... I was Speaking with J C Torren last night and he said to use

Код:
public OnPlayerText(playerid, text[]) {
if(!strcmp(text, "Ha", true))
	{
  	    SendPlayerMessage(playerid, text);
		SendBotMessage("hahaha");
		return 1;
	}
Reply
#4

SendPlayerMessage was probably a SendClientMessage function with the color already formatted like SystemMsg I believe in the dudB include (or dutils)

Reply
#5

Pff it's
Код:
SendPlayerMssageToPlayer(playerid,senderid,const message[])
or
Код:
 SendPlayerMessageToAll(senderid,const message[])
Reply
#6

pfft lol u cool xD
Reply
#7

Quote:
Originally Posted by DJDhan
Pff it's
Код:
SendPlayerMssageToPlayer(playerid,senderid,const message[])
or
Код:
 SendPlayerMessageToAll(senderid,const message[])
Thanks... It works now
Quote:
Originally Posted by KayaQue
SendClientMessage ?
Learn how to script.
Reply
#8

Quote:
Originally Posted by Shadow-
Quote:
Originally Posted by KayaQue
SendClientMessage ?
Learn how to script.
I appreciate the irony in that post.
Reply
#9

No Irony, i just couldn't remember the Callback he came up with some totaly differnt
Reply
#10

Why you donґt take a random message?

Itґs much easier

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)