25.10.2009, 09:12
Quote:
Originally Posted by ╔Jigsaw╗
Code:
public OnPlayerSpawn(playerid) { new car; CreateVehicle(car, 0.0, 0.0, 0.0, 1, 1, 10000); PutPlayerInVehicle(playerid, car, 0); } |
pawn Code:
car = CreateVehicle(VEHICLE_ID, FLOAT_X, FLOAT_Y, FLOAT_Z, R, COLOR_1, COLOR_2, RESPAWN_TIME); // fill it in.
pawn Code:
public OnPlayerSpawn(playerid)
{
new car;
car = 502; // Hotring racer
CreateVehicle(car, 0.0, 0.0, 0.0, -1, -1, 10000);
PutPlayerInVehicle(playerid, car, 0);
return true;
}