05.07.2011, 09:57
(
Последний раз редактировалось JaTochNietDan; 05.07.2011 в 12:41.
Причина: Use the edit button.
)
Cement Truck, Squalo and Camper uses 4 colours.
pawn Код:
MovePickup(pickupid, Float:x, Float:y, Float:z, Float:speed);
RotateObject(objectid, Float:rX, Float:rY, Float:rZ, Float:speed);
ChangeVehicleColor(vehicleid, color1, color2, color3, color4); // 4 colours for Squalo, Cement Truck and Camper.
GetVehicleColor(vehicleid, &color1, &color2, &color3, &color4);
GetVehiclePaintjob(vehicleid);
SetPlayerCheckpoint(playerid, Float:x, Float:y, Float:z, Float:size, color); // Just add color param (color in hex).
GetVehicleXAngle(vehicleid, &Float:x_angl);
SetVehicleXAngle(vehicleid, Float:x_angl);
GetVehicleYAngle(vehicleid, &Float:y_angl);
SetVehicleYAngle(vehicleid, Float:y_angl);
GetPlayerOxygen(playerid, &Float:oxygen);
SetPlayerOxygen(playerid, Float:oxygen);
GetPlayerMaxHealth(playerid, &Float:maxhealth);
SetPlayerMaxHealth(playerid, Float:maxhealth);