26.02.2011, 04:20
Quote:
022 must be lvalue (non-constant) The symbol that is altered (incremented, decremented, assigned a value, etc.) must be a variable that can be modified (this kind of variable is called an lvalue). Functions, string literals, arrays and constants are no lvalues. Variables declared with the “const” attribute are no lvalues either. |
Код:
static const oldmoney; oldmoney = GetPlayerMoneyEx(playerid);
Код:
static const oldmoney = GetPlayerMoneyEx(playerid);