12.06.2017, 01:31
local variable "Pos" shadows a variable at a preceding level
12.06.2017, 01:34
Change the name of the variable?
12.06.2017, 01:40
what value ?
12.06.2017, 01:54
What value what?
Rename the variable
to
or whatever you want and make sure the rest of the code that involves that variable gets its name changed aswell, like the following code:
would be
Rename the variable
PHP код:
new Float:Pos[3];
PHP код:
new Float:fPos[3];
PHP код:
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
PHP код:
GetPlayerPos(playerid, fPos[0], fPos[1], fPos[2]);
12.06.2017, 02:32
Quote:
What value what?
Rename the variable PHP код:
PHP код:
PHP код:
PHP код:
|
12.06.2017, 07:12
Quote:
What value what?
Rename the variable PHP код:
PHP код:
PHP код:
PHP код:
|
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)