30.08.2011, 13:52
pawn Код:
55. if (GetObjectPos(yEditor_sVars[yObj_curObj], 0.0, 0.0, 0.0)) {
(55) : error 035: argument type mismatch (argument 2)
i don't know why?
55. if (GetObjectPos(yEditor_sVars[yObj_curObj], 0.0, 0.0, 0.0)) {
new Float:X, Float:Y, Float:Z;
GetObjectPos(yEditor_sVars[yObj_curObj],X,Y,Z);
if(X = bla && Y = bla && Z = bla)
{
//do stuff
}