Explicar isso
#4

e qual a diferenзa entre o:

%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);
e


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);
Reply


Messages In This Thread
Explicar isso - by andmeida10 - 10.03.2010, 07:01
Re: Explicar isso - by RoamPT - 10.03.2010, 09:44
Re: Explicar isso - by andmeida10 - 10.03.2010, 12:12
Re: Explicar isso - by andmeida10 - 10.03.2010, 16:07
Re: Explicar isso - by RoamPT - 10.03.2010, 16:21
Re: Explicar isso - by andmeida10 - 10.03.2010, 16:42
Re: Explicar isso - by Chivits - 10.03.2010, 19:10
Re: Explicar isso - by andmeida10 - 10.03.2010, 19:26
Re: Explicar isso - by SlashPT - 10.03.2010, 20:10
Re: Explicar isso - by andmeida10 - 10.03.2010, 20:42

Forum Jump:


Users browsing this thread: 6 Guest(s)