GetDogMode
A dog’s mode.
Syntax
Section titled “Syntax”GetDogMode(id)| Parameter | Type | |
|---|---|---|
id |
number | the dog’s entity id |
Returns
Section titled “Returns”number - the mode (DOG_FOLLOW for a dog nobody told otherwise); false when the id is not a dog
Example
Section titled “Example”if GetDogMode(dog) == DOG_STAY then SendClientMessage(pid, COLOUR_WHITE, "your dog is waiting for you") endSee also
Section titled “See also”SetDogMode · the Dogs group of the index
