Advertisement
StefkeZ

Untitled

Jun 30th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. if(newstate == PLAYER_STATE_DRIVER)
  2. {
  3. for(new i = 0; i < sizeof(VoziloInfo); i++)
  4. {
  5. if(VoziloInfo[i][vID] == vozilo)
  6. {
  7. new cijena = CijeneAuta(GetVehicleModel(GetPlayerVehicleID(playerid)));
  8. if(VoziloInfo[i][vImaVlasnika] == 0)
  9. {
  10. if(PlayerInfo[playerid][pAdmin] == 5) va_SendClientMessage(playerid,-1,".::(( Unicate ))::. "SPLAVA"Ulazite u vozilo ID: %d!",i);
  11. if(PlayerInfo[playerid][pAdmin] == 6) va_SendClientMessage(playerid,-1,".::(( Unicate ))::. "SPLAVA"Ulazite u vozilo ID: %d!",i);
  12. SCM(playerid,-1,""SPLAVA"Polovan auto na prodaju | /kupiauto | /izlaz");
  13. va_SendClientMessage(playerid,-1,""SPLAVA"Cena: "BELA"%d$ | "SPLAVA"Model: "BELA"%s",AutoSalon[cijena][1]/2, ImenaVozila[GetVehicleModel(vozilo) - 400]);
  14. UsaoAutoProdaja[playerid] = i; TogglePlayerControllable(playerid, 0);
  15. return 1;
  16. }
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement