23.06.2010, 18:40
Код:
CMD:fix(playerid, params[]) { if(File[playerid][Admin] > 0) { new vehicleid; vehicleid = GetPlayerVehicleID(user); RepairVehicle(vehicleid); } return 1; } CMD:flip(playerid, params[]) { if(File[playerid][Admin] >= 1) { new VehicleID,Angle; VehicleID = GetPlayerVehicleID(user); new Float:x, Float:y, Float:z; GetVehicleZAngle(VehicleID, Angle); SetVehiclePos(VehicleID, X, Y, Z); SetVehicleZAngle(VehicleID, Angle); GameTextForPlayer(playerid,"~b~FLIPPED!",4000,3); } return 1; }