18.11.2013, 17:22
You can use format() to format strings.
This will help you https://sampwiki.blast.hk/wiki/Format
pawn Код:
new pName[MAX_PLAYER_NAME]; // Creating a variable, which will keep player name
new string[128]; // A variable to format the string.
GetPlayerName(playerid, pName, sizeof(pName)); // Saving player name into the variable
format(string, sizeof(string), "%s has been availble to capture.", pName); // Formatting done!
SendClientMessage(playerid, -1, string); // Sending the string to player