26.07.2010, 13:08
Im a new mapper,and i dont know much #C and C++,but i have known some about PAWN,now i have some question about PAWN.
How to use the this.Example:
from this, i want to know about string[] sizeof() format(),please.
what string is? and whats the [] follow of it.Important how to use it.
what is sizeof and how to use.also about FORMAT
Please help me. sorry my bad english.
How to use the this.Example:
Код:
new PlayerName[MAX_PLAYER_NAME], string[128]; GetPlayerName(playerid, PlayerName, sizeof(PlayerName)); format(string, sizeof(string), "Blue Won!", PlayerName); SendClientMessageToAll(COLOR_BLUE, string);
what string is? and whats the [] follow of it.Important how to use it.
what is sizeof and how to use.also about FORMAT
Please help me. sorry my bad english.