23.06.2010, 18:19
Код:
cmd(flip, playerid, params[]) { if(!sscanf(params, "u", playerid)) { if(File[playerid][Admin] >= 1) { new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); GetVehicleZAngle(VehicleID, Angle); SetVehiclePos(VehicleID, X, Y, Z); SetVehicleZAngle(VehicleID, Angle); GameTextForPlayer(playerid,"~b~FLIPPED!",4000,3); SendClientMessage(playerid, BLUE, "FLIPPED!"); } } return 1; }