04.12.2009, 08:32
so heres basicly my code
now I want to write something in
so I use the command "format" I usualy use "sizeof(" to get the size of the string, but now its gives an erorr message, I tried alot, and searched for examples, but found nothing, I know I can use just "MAX_PLAYER_NAME" as the size, but there are other problems that need the same solution, so is there anyway to get the size of "Sender"? I will happy to get an answer...
PS
I did serched, I read PAWN PDF and WIKI, but they didn't showed me how to solve this.
pawn Код:
enum TICKET_INFO{
Sender[MAX_PLAYER_NAME],
Amout
}
new Ticket[TICKET_INFO][MAX_PLAYERS];
pawn Код:
Ticket[Sender][playerid]
PS
I did serched, I read PAWN PDF and WIKI, but they didn't showed me how to solve this.