Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CarInfo[idx][cColor][0]=colors[playerid][0];
- CarInfo[idx][cColor][1]=colors[playerid][1];
- CarInfo[idx][id] = idx;
- SetPVarInt(playerid, "PlayerCars", CarInfo[idx][id]);
- format(CarInfo[idx][cColors], 16, "%d, %d",CarInfo[idx][cColor][0],CarInfo[idx][cColor][1]);
- strmid(CarInfo[idx][cOwner],sendername(playerid),0,strlen(sendername(playerid)),MAX_PLAYER_NAME);
- SendMes(playerid, TEAM_BLUE_COLOR, "Jus iegadajaties transportu: %s pa %d Ls",VehicleNameS[GetVehicleModel(veh[playerid])-400],CarInfo[idx][cCost]);
- SendClientMessage(playerid,TEAM_BLUE_COLOR,"Jusu transports nogodats jusu maja!");
- DestroyVehicle(veh[playerid]);
- format(query,sizeof(query),"UPDATE "TABLE_CARS" SET clock = %i, model = %d, cost = %i, colors = '%s', x = '%f', y='%f', z='%f', fa='%f', fuel = %i, heal = '%f' WHERE id=%i",CarInfo[idx][cLock],CarInfo[idx][cModel],
- CarInfo[idx][cCost],CarInfo[idx][cColors],CarInfo[idx][cX], CarInfo[idx][cY], CarInfo[idx][cZ], CarInfo[idx][cFa], CarInfo[idx][cFuel], idx);
- mysql_query(query);
Advertisement
Add Comment
Please, Sign In to add comment