FANDOM


Ovaj callback se poziva kada igrac napusti Mod Shop, tj onda kada promeni boju vozila. Ne poziva se za pay 'n' spray garaze!

Parametri Edit

(playerid, vehicleid, color1, color2)
playerid - ID igraca u vozilu
vehicleid - ID vozila
color1 - Prva boja vozila
color2 - Druga boja vozila
Return - Ovaj callback ne zahteva specijalan return

Primer Edit

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
    new string[48];
    format(string, sizeof(string), "Prebojili ste auto marke Skoda %d u boje %d i %d!", vehicleid, color1, color2);
    SendClientMessage(playerid, COLOR_GREEN, string);
    return 1;
}

Ovaj callback se ne poziva za pay 'n' spray garaze, te primer mozete videti na sledecm linku - Pastebin

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.