Köszönjük, hogy ki szedted a módodból, de ezt:
[pawn]tock FormatYMessage(playerid, text[])
{
new string[1280];
format(string, sizeof(string), \"%s {FF0000}Ide Teleportált {33CCFF}[ {00FF00}%s {33CCFF}]\", PlayerName(playerid), text);
SendClientMessageToAll(GetPlayerColor(playerid),string);
return 1;
}
stock PlayerName(playerid)
{
new string[MAX_PLAYER_NAME];
GetPlayerName(playerid, string, sizeof(string));
return string;
}[/pawn]
Így csináltam volna:
stock FormatYMessage(playerid, text[])
{
new string[128];
format(string, sizeof(string), \"%s {FF0000}Ide Teleportált {33CCFF}[ {00FF00}%s {33CCFF}]\", GetPlayerName(playerid), text);
SendClientMessageToAll(GetPlayerColor(playerid),string);
return 1;
}