06.12.2009, 11:40
pawn Код:
new cool=sizeof(Ticket[playerid][Sender]);
Код:
E:\Prison Break\SA-MP 0.3\Prison.PWN(582) : error 001: expected token: "]", but found "-identifier-" E:\Prison Break\SA-MP 0.3\Prison.PWN(582) : warning 215: expression has no effect E:\Prison Break\SA-MP 0.3\Prison.PWN(582) : error 001: expected token: ";", but found "]" E:\Prison Break\SA-MP 0.3\Prison.PWN(582) : error 029: invalid expression, assumed zero E:\Prison Break\SA-MP 0.3\Prison.PWN(582) : fatal error 107: too many error messages on one line
pawn Код:
new cool=sizeof(Ticket[][Sender]);
like now I use another variable
pawn Код:
new TicketTemp[TICKET_INFO];
pawn Код:
format(Ticket[playerid][Sender],sizeof(TicketTemp[Sender]),"NULL");
pawn Код:
format(Ticket[playerid][Sender],sizeof(Ticket[][]),"NULL");
and when I try
pawn Код:
format(Ticket[playerid][Sender],sizeof(Sender),"NULL");
Код:
E:\Prison Break\SA-MP 0.3\Prison.PWN(584) : error 039: constant symbol has no size