SetPlayerObjectNoCameraCol

SetPlayerObjectNoCameraCol

Description:
Function SetPlayerObjectNoCameraCol toggles a player object camera collision.
This does not work inside the normal SA map boundaries.
Function SetPlayerObjectNoCameraCol was added in 0.3.7 and will not work in earlier versions!


Parameters:
(playerid, objectid)
int playerid The playerID the object belongs to.
int objectid The ID of the object you want to toggle.


Return Values:
1 - Regardless of if the object exists or not.


Examples:
public OnPlayerObjectMoved(playerid, objectid)
{
    new Float:objX, Float:objY, Float:objZ;
    GetPlayerObjectPos(playerid, objectid, objX, objY, objZ);
    if(objX >= 3000.0 && objY >= 3000.0)
    {
        SetPlayerObjectNoCameraCol(playerid, objectid);
    }
    return 1;
}


Related Functions
The following functions may be useful, as they are related to this function in one way or another.