Whats wrong ?
#1

Hey so i am getting this error

Код:
: error 022: must be lvalue (non-constant)
The line
Код:
Date = GetDate();
GetDate();
Код:
stock GetDate()
{
   new String[64];

   new t1, t2, t3, d1, d2, d3;

   format(String, sizeof(String), "%02d/%02d/%02d %02d:%02d:%02d", t3, t2, t1, d1, d2, d3);

   return String;
}
Reply


Messages In This Thread
Whats wrong ? - by Saurik - 19.07.2011, 18:32
Re: Whats wrong ? - by Jay. - 19.07.2011, 18:33
Respuesta: Whats wrong ? - by Code8976Man - 19.07.2011, 18:36
Re: Whats wrong ? - by XGh0stz - 19.07.2011, 18:37
Re: Whats wrong ? - by Saurik - 19.07.2011, 18:37
Re: Whats wrong ? - by Toni - 19.07.2011, 18:42
Re: Whats wrong ? - by Amit_B - 19.07.2011, 18:44
Re: Whats wrong ? - by XGh0stz - 19.07.2011, 18:45
Re: Whats wrong ? - by Saurik - 19.07.2011, 18:49
Re: Whats wrong ? - by Amit_B - 19.07.2011, 18:53

Forum Jump:


Users browsing this thread: 1 Guest(s)