SA-MP Forums Archive
OnObjectMoved(objectid) help! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: OnObjectMoved(objectid) help! (/showthread.php?tid=131924)



OnObjectMoved(objectid) help! - not - 05.03.2010


-----Edit----------------------------
How can i do this?:

Код:
public OnObjectMoved(objectid)
{
  if (objectid = lift1){
  Ocupado[playerid] == 1;
  }
  return 1;
}

 error 017: undefined symbol "playerid"



Re: IsObjectInMoviment - Torran - 05.03.2010

I think you mean callback,
And what do you want it to do?

Cause theres a callback

https://sampwiki.blast.hk/wiki/OnObjectMoved

Depends what you want to do


Re: IsObjectInMoviment - ¤Adas¤ - 05.03.2010

You can use function OnObjectMoved(objectid). It is called, when object stops moving.

EDIT: Torran was a bit faster!


Re: IsObjectInMoviment - not - 05.03.2010

:O ahahha i forget that callback ehehe i don't script 2 years ago eehe but now I came back thx a LOT!!



LOL but how i can do this :/

Код:
public OnObjectMoved(objectid)
{
  if (objectid = lift1){
  Ocupado[playerid] == 1;
  }
  return 1;
}

 error 017: undefined symbol "playerid"