10.03.2010, 16:07
e qual a diferenзa entre o:
%i e o %s, nos seguintes casos, e quando saber qual deles aplicar...
e
%i e o %s, nos seguintes casos, e quando saber qual deles aplicar...
pawn Код:
new s[128];
format(s, sizeof(s), "There are %i slots on this server!", GetMaxPlayers());
SendClientMessage(playerid, 0xFFFFFFFF, s);
pawn Код:
new name[MAX_PLAYER_NAME], string[48];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s has joined the server.", name );
SendClientMessageToAll(0xFFFF00AA, string);