24.07.2012, 17:46
Champ, next time please open a new thread.
By the way, the max message lenght is 144, not 128. Tested this. Cheers.
pawn Код:
public OnPlayerConnect(playerid)
{
static name[25];
GetPlayerName(playerid,name,25);
if(!strcmp(name,"Champ",true) || !strcmp(name,"Super_Champ",true) )
{
static str4[128]; // max size of a mensage is 128 cell it means you can type 128 caracters, so it's not neeeded put more than the max, you would be wasting memory.
format(str4,sizeof(str4),"[24/7] Freeraom Server Owner {B8FFFF}Champ {2AFF00}Has Connected To Server !");
SendClientMessageToAll(COLOR_SEAGREEN,str4);
}
return 1;
}