Help me?
#1

i can,t chat IN global In my server
Reply
#2

Show your OnPlayerText.
Reply
#3

i don,t have onplayertext lol
Reply
#4

You cant chat in game right? (GLOBAL) ?
Reply
#5

You should have this code, i guess
Код:
public OnPlayerText(playerid,text[])
{

	static name[MAX_PLAYER_NAME],string[256];
	GetPlayerName(playerid,name,sizeof(name));

	format(string,sizeof(string),"%s{FFFFFF}(%d): %s",name,playerid,text);

	SendClientMessageToAll(GetPlayerColor(playerid),string);

	SetPlayerChatBubble(playerid, text, GetPlayerColor(playerid), 100.0, 10000);
	return 0;
}
Reply
#6

Hey, Put this Public, and these codes,
PHP код:
public OnPlayerText playeridtext [ ] )
{
new 
sString 128 ],
gName 25 ] ;
GetPlayerName playeridgName25 ) ;
format sString128,  "Name: %s : %s",  gNametext ) ;
SendClientMessageToAll ( -1sString ) ;
return 
;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)