Need help with text [+REP]
#1

Hi, im making new gm for my server.

And if i connect i want my connect message will comme fully out ! (this problem is with all text)

It's coming like this: * * * Name Ha

But it need to come like this: * * * Name Has Joined With The Server.

SOrry about my bad english
Reply
#2

Show the code.We are not mind readers that where the problem is
Reply
#3

new pname[MAX_PLAYER_NAME], string[39 + MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
switch(reason)
{
case 0: format(string, sizeof(string), "{FFFFFF}• • • {FF1929}%s {FFFFFF}Has Left The Server. (Crashed)", pname);
case 1: format(string, sizeof(string), "{FFFFFF}• • • {FF1929}%s {FFFFFF}Has Left The Server. (Leaving)", pname);
case 2: format(string, sizeof(string), "{FFFFFF}• • • {FF1929}%s {FFFFFF}Has Left The Server. (Kicked or Banned)", pname);
}
SendClientMessageToAll(0x808080FF, string);
Reply
#4

Hey Man,
Show the connect code not disconnect :S
Reply
#5

Same problem with all text, but here it is

new pname[MAX_PLAYER_NAME], string[22 + MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
format(string, sizeof(string), "{FFFFFF}• • • {FF1929}%s {FFFFFF}Has Joined With The Server.", pname);
SendClientMessageToAll(0x808080FF, string);
Reply
#6

Use
pawn Код:
new pname[MAX_PLAYER_NAME], string[50 + MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
format(string, sizeof(string), "{FFFFFF}• • • {FF1929}%s {FFFFFF}Has Joined With The Server.", pname);
SendClientMessageToAll(0x808080FF, string);
Reply
#7

Ty, it works man +rep
Reply
#8

Rep won't be added unless u have 20 posts
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)