FANDOM


SetPlayerInterior Edit

Poziva se kada igrac menja interior.


Parametri:

(playerid, newinteriorid, oldinteriorid)

playerid ID igraca koji menja interior.
newinteriorid Interior u kome se igrac sada nalazi.
oldinteriorid Interior u kom je igrac bio.


Return: Ne koristi se.


Takodje se poziva kada se SetPlayerInterior koristi.


public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
    new string[42];
    format(string, sizeof(string), "Presli ste iz interiora %d u interior %d!", oldinteriorid, newinteriorid);
    SendClientMessage(playerid, COLOR_ORANGE, string);
    return 1;
}

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.