local variable "Pos" shadows a variable at a preceding level
#4

What value what?

Rename the variable

PHP код:
 new Float:Pos[3]; 
to
PHP код:
 new Float:fPos[3]; 
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:
PHP код:
GetPlayerPos(playeridPos[0], Pos[1], Pos[2]); 
would be
PHP код:
GetPlayerPos(playeridfPos[0], fPos[1], fPos[2]); 
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)