03.07.2013, 08:59
To make it easier, you can also create a callback for this.
This will require you to only do
instead of
pawn Код:
stock GetPlayerNameEx(playerid)
{
new name[24];
GetPlayerName(playerid, name, 24);
return name;
}
pawn Код:
format(string, sizeof(string), "%s", GetPlayerNameEx(playerid));
pawn Код:
new name[24];
GetPlayerName(playerid, name);
format(string, sizeof(string), "%s", name);