FANDOM


Ovaj public koristimo kada igrač pokušava da udje u neko vozilo. Više o tome:


Parametri:


(playerid, vehicleid, ispassenger)


playerid // ID igrača koji pokušava ući u vozilo.


vehicleid // ID vozila u koje igrač pokušava da uđe.


ispassenger // 0 Ako igrač ulazio kao vozač. 1 Ako igrač ulazi kao suvozač.


public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    new string[128];
    format(string, sizeof(string), "Ulaziš u vozilo ID %i.", vehicleid);
    SendClientMessage(playerid, 0xFFFFFFFF, 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.