Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(newstate == PLAYER_STATE_DRIVER)
- {
- for(new i = 0; i < sizeof(VoziloInfo); i++)
- {
- if(VoziloInfo[i][vID] == vozilo)
- {
- new cijena = CijeneAuta(GetVehicleModel(GetPlayerVehicleID(playerid)));
- if(VoziloInfo[i][vImaVlasnika] == 0)
- {
- if(PlayerInfo[playerid][pAdmin] == 5) va_SendClientMessage(playerid,-1,".::(( Unicate ))::. "SPLAVA"Ulazite u vozilo ID: %d!",i);
- if(PlayerInfo[playerid][pAdmin] == 6) va_SendClientMessage(playerid,-1,".::(( Unicate ))::. "SPLAVA"Ulazite u vozilo ID: %d!",i);
- SCM(playerid,-1,""SPLAVA"Polovan auto na prodaju | /kupiauto | /izlaz");
- va_SendClientMessage(playerid,-1,""SPLAVA"Cena: "BELA"%d$ | "SPLAVA"Model: "BELA"%s",AutoSalon[cijena][1]/2, ImenaVozila[GetVehicleModel(vozilo) - 400]);
- UsaoAutoProdaja[playerid] = i; TogglePlayerControllable(playerid, 0);
- return 1;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement