Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //------------------------------------------------------------------------------
- if(Rentano[playerid] != -1)
- {
- SetVehicleToRespawn(Rentano[playerid]);
- Rentano[playerid] = -1;
- UsaoRentVozilo[playerid] = -1;
- new vozilo = GetPlayerVehicleID(playerid);
- Delete3DTextLabel(RentLabel[vozilo]);
- new string[128];
- format(string,sizeof(string),""vrp"[ RENT - "ZELENA"SLOBODNO "vrp"]\nCena: '%d'\nId: '%d'", RentInfo[vozilo][rRentCena],
- RentInfo[vozilo][rID]);
- RentLabel[vozilo] = Create3DTextLabel(string, 0x33CCFFFF, 0.0, 0.0, 0.0, 15.0, 0, 1);
- Attach3DTextLabelToVehicle(RentLabel[vozilo], RentInfo[vozilo][rID], 0.0, 0.0, 0.0);
- }
- //------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement