From SA-MP Wiki

Jump to: navigation, search


Stop a moving object after MoveObject has been used.

objectidThe ID of the object to stop moving.

Return Values:

This function does not return any specific values.

Example Usage:

public OnGameModeInit()
    new obj;
    obj = CreateObject(...);
    return 1;
public OnPlayerCommandText(playerid, cmdtext[])
    if(strcmp(cmd, "/stopobject", true) == 0)
        return 1;
    return 0;

Related Functions

The following functions may be helpful as they relate to this function in one way or another.

Related Callbacks

The following callbacks might be useful, as they're related to this function in one way or another.

In other languages