SHARE
TWEET

Untitled

a guest Aug 12th, 2017 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     if(IsTurgus3(Coo[0],Coo[1])) //Zaidejas turguje
  2.    {
  3.  
  4.       new data = 0;
  5.       new kaina = 0;
  6.       if(model == 461) kaina = 11394;
  7.       else if(model == 463) kaina = 1300;
  8.       else if(model == 468) kaina = 1500;
  9.       else if(model == 521) kaina = 4600;
  10.       else if(model == 522) kaina = 3500;
  11.       else if(model == 581) kaina = 3400;
  12.       else if(model == 586) kaina = 22500;
  13.       else if(model == 461) data = 1900;
  14.       else if(model == 522) data = 1990;
  15.       else return 1;
  16.  
  17.       Stop(playerid);
  18.       new msg1[128];
  19.       new msg[128];
  20.       format(msg,sizeof(msg),\"* {FFFFFF}Modelis: {EE5555}%s {FFFFFF}kaina - {EE5555}%iLt. {FFFFFF}Bako tûris: {EE5555}%iL.\",aVehicleNames[model-400],kaina,aBakai[model-400]);
  21.       format(msg1,sizeof(msg1),\" {FFFFFF}Degalø sànaudos: {EE5555}%il/min. % data\",aEda[model-400],data);
  22.       SendClientMessage(playerid,COLOR,msg);
  23.       SendClientMessage(playerid,COLOR,msg1);
  24.       SendClientMessage(playerid,COLOR,\"* Ar norite pirkti? [taip/ne]\");
  25.       playerDB[playerid][textas]=2;
  26.       playerDB[playerid][rkaina][1]=kaina;
  27.       playerDB[playerid][rid][1]=vehicleid;
  28.  
  29.       return 1;
  30.    }
RAW Paste Data
Top