03.06.2012, 13:10
is the "%s" supposed to be TEXT or just the player's NAME?
if it's just the name...
if it's just the name...
pawn Код:
public OnPlayerConnect(playerid)
{
new pName[MAX_PLAYER_NAME];
new str[128];
GetPlayerName(playerid, pName, sizeof(pName));
format(str, sizeof(str), "AKA: %s", pName);
SendClientMessageToAll(COLOR_WHITE, str); // change this to whatever you want...
return 1;
}