How do i make a string with two %s's? PLZ HELP
#2

Try something like this:
pawn Код:
new str[128], playername[MAX_PLAYER_NAME], killername[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername, sizeof(playername));
GetPlayerName(killerid, killername, sizeof(killername));
format(str, sizeof(str), "%s Hammered %s, reason: %s", killername, playername, reason);
SendClientMessageToAll(COLOR_DEFINE, str);
Reply


Messages In This Thread
How do i make a string with two %s's? PLZ HELP - by matdav - 25.07.2009, 02:36
Re: How do i make a string with two %s's? PLZ HELP - by Correlli - 25.07.2009, 02:49
Re: How do i make a string with two %s's? PLZ HELP - by matdav - 25.07.2009, 03:05
Re: How do i make a string with two %s's? PLZ HELP - by Correlli - 25.07.2009, 03:15

Forum Jump:


Users browsing this thread: 1 Guest(s)