GetObjectPos error
#2

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:
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
}
Cheers,

TJ
Reply


Messages In This Thread
GetObjectPos error - by ylleron - 30.08.2011, 13:52
Re: GetObjectPos error - by TTJJ - 30.08.2011, 13:57
Re: GetObjectPos error - by emokidx - 30.08.2011, 13:59
Re: GetObjectPos error - by ylleron - 30.08.2011, 13:59

Forum Jump:


Users browsing this thread: 1 Guest(s)