27.05.2012, 20:10
Quote:
pawn Код:
|
Quote:
Originally Posted by WIKI
Placeholder Meaning
%b Inserts a number at this position in binary radix %c Inserts a single character. %d Inserts an integer (whole) number %f Inserts a floating point number. %i Inserts an integer. %s Inserts a string. %x Inserts a number in hexadecimal notation. %% Inserts the literal '%' |
pawn Код:
CMD:team(playerid,params[])
{
new Fstring[10]; // 10 digits is enough -.-
format(Fstring, sizeof(Fstring), "Team: %d", GetPlayerTeam(playerid));
SendClientMessage(playerid, -1, Fstring); // change -1 to your own colour if you want, -1 is WHITE COLOUR
return 1;
}
http://forum.sa-mp.com/showpost.php?...75&postcount=7
-FalconX