Posts: 125
Threads: 46
Joined: Apr 2011
Reputation:
0
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
Posts: 1,196
Threads: 45
Joined: Jan 2012
Reputation:
0
Show the code.We are not mind readers that where the problem is
Posts: 125
Threads: 46
Joined: Apr 2011
Reputation:
0
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);
Posts: 1,196
Threads: 45
Joined: Jan 2012
Reputation:
0
Hey Man,
Show the connect code not disconnect :S
Posts: 125
Threads: 46
Joined: Apr 2011
Reputation:
0
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);
Posts: 1,196
Threads: 45
Joined: Jan 2012
Reputation:
0
Rep won't be added unless u have 20 posts