OnObjectMoved(objectid) help!
#1


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

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

 error 017: undefined symbol "playerid"
Reply
#2

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
Reply
#3

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

EDIT: Torran was a bit faster!
Reply
#4

: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"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)