21.01.2010, 20:06
pawn Код:
enum eCars
{
car_model,
Float:car_x,
Float:car_y,
Float:car_z,
Float:car_angle
}
new CarSpawns[7][eCars] = {
{405,-2125.7424,658.0462,52.2988,93.9612},//carid 90
{426,-2158.0222,657.3932,52.2775,272.8372},
{445,-1926.3204,585.6179,34.9963,359.8303},
{492,2229.2,-1170.2,25.7,86.9},
{507,-2214.8047,-82.7890,35.0474,0.6476},
{545,2217.0,-1157.2,25.7,269.8},
{547,405.9748,-1264.3921,50.1237,24.2110},
pawn Код:
for(new cars; cars<sizeof(CarSpawns); cars++)
{
AddStaticVehicle(CarSpawns[cars][0],CarSpawns[cars][1], CarSpawns[cars][2], CarSpawns[cars][3], CarSpawns[cars][4],-1,-1);
}