FANDOM


OnPlayerExitVehicle Edit

Ovaj callback se poziva kada igrac napusti vozilo

Parametri: Edit

(playerid, vehicleid)
playerid - ID igraca koji napusta vozilo
vehicleid - ID vozila
return - Ovaj callback ne zahteva poseban return

Primer Edit

public OnPlayerExitVehicle(playerid, vehicleid)
{
    new string[35];
    format(string, sizeof(string), "INFO: Napustas vozilo %i", vehicleid);
    SendClientMessage(playerid, 0xFFFFFFFF, string);
    return 1;
}