FANDOM


Stopira pomijeranje objekta usljed djelovanja MoveObject funkcije.


Parametri: (objectid)

objectid - ID Objekta na kojem će djelovati funkcija.


Returns: Ova funkcija ne vraća određenu vrijednost.


PrimjerEdit

public OnGameModeInit()
{
    new objekt;
    objekt = CreateObject(...);
    return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmd, "/stopirajobj", true) == 0)
    {
        StopObject(objekt);
        SendClientMessage(playerid, 0xFFFFFFFF, "[!] Objekt stopiran");
        return 1;
    }
    return 0;
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.