06.11.2013, 12:52
It's lovely to see, how much effort you just gave to re-search for those answers. *sarcastic*
Quote:
ANSWERS:
1. Cell size means the max number of characters allowed , or like limit. 2. can't understand what you are asking 3. u can use sizeof in OnPlayerText, etc. its purpose is to get the size of the text written 4. % placeholders?? cant understand. 5. %c? or 5. pawn Код:
|
- Almost correct. A cell can actually store 4 bytes, hence 32 bit. But you just wrote
Quote:
[32] and [64] are used to tell the program that the size of the cell is 32bit and 64bit
- My bad, I was asking for the second argument.
Код:GetPlayerName(first argument, second argument, third argument)
- Not asked that way, neither OnPlayerText() needs sizeof at all.
I was asking about its syntax and its functionality. - Read the whole format() wiki page, before you copy some of its content.
- Neither asked that way. This question refers to
Quote:pawn Код:new character = 64;
printf("I'm %c home",character); //-> result: I'm @ home
pawn Код:new character = 64;
Do you think there is a much easier way to represent a single character, by just replacing the number
pawn Код:64