Formatting string weird error
#1

Hello, when I try to format a string I get these errors, and I don't really know why...
Код:
error 001: expected token: "]", but found "-identifier-"
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
Code:
PHP код:
enum NewbieMessagesInfo
{
    
nMessage[518]
};
new 
NewbieMessageInfo[MAX_NEWBIESMESSAGES][NewbieMessagesInfo];
stock SendQuestion(playeridmessage[])
{
    
format(NewbieMessageInfo[playerid][nMessage], sizeof(NewbieMessageInfo[playerid][nMessage]), "%s"message);// this is the error line
    //Other code

Any solution?
Reply


Messages In This Thread
Formatting string weird error - by StRaphael - 07.12.2018, 13:44
Re: Formatting string weird error - by sampkinq - 07.12.2018, 14:08
Re: Formatting string weird error - by StRaphael - 07.12.2018, 14:16
Re: Formatting string weird error - by StRaphael - 07.12.2018, 15:15

Forum Jump:


Users browsing this thread: 1 Guest(s)