30.08.2011, 13:57
Hi ylleron,
For some reason you are trying to assign a variable in GetObjectPos...
GetObjectPos is intent ended to retrieve a objects position.
The following would be the correct usage:
Cheers,
TJ
For some reason you are trying to assign a variable in GetObjectPos...
GetObjectPos is intent ended to retrieve a objects position.
The following would be the correct usage:
pawn Код:
new Float:X, Float:Y, Float:Z;
GetObjectPos(yEditor_sVars[yObj_curObj],X,Y,Z);
if(X = bla && Y = bla && Z = bla)
{
//do stuff
}
TJ