StopObject

From SA-MP Wiki

Jump to: navigation, search


Description:

Stop a moving object after MoveObject has been used.


Parameters:
(objectid)
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)
    {
        StopObject(obj);
        return 1;
    }
    return 0;
}

Related Functions

The following functions may be useful, as they are related 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.

Personal tools
Navigation
Toolbox
In other languages